[PATCH 2/3] winecoreaudio: Implement the lock-free callback design.

Peter Rosin peda at lysator.liu.se
Wed Feb 1 01:43:19 CST 2012


Joerg-Cyril.Hoehle at t-systems.com skrev 2012-01-31 15:23:
> Peter Rosin wrote:
>>> Of the same vein, one liners like
>>> EnterCS
>>> This-> playing = StateStopped;
>>> LeaveCS
>>> are suspicious too.  What does that guarantee?
>> Perhaps that another thread doing as below isn't fooled into
>> calling both one() and three()?
> Right. The next question is:
> What does that not guarantee (that you'd like to have)?

It does not guarantee that I have money in my pocket.

Seriously, I'm not sure in what way I'm supposed to not get what a
CS does or doesn't do.  Please spell it out!

Cheers,
Peter



More information about the wine-devel mailing list