Joerg-Cyril.Hoehle@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