@sssmcgrath @jwatte @rygorous @nothings I mean you _already have to have_ an integer value that you interlock-compare-exchange, right?
@sssmcgrath @jwatte @rygorous @nothings OK. I don't think I've ever wanted that... it does seem difficult to do with just one semaphore.
-
-
@cmuratori@jwatte@rygorous@nothings I've put debugging code in there, and I have trylocked on the mutex once, but that's about it -
@sssmcgrath@cmuratori@rygorous@nothings Trylock is another synchronization code smell. Go blocking or lockless! - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.