@sssmcgrath @nothings @cmuratori I prefer semaphores over monitors.
@sssmcgrath @jwatte @rygorous @nothings No, I mean the semaphores just do this automatically. You don't have to do anything.
-
-
@sssmcgrath@jwatte@rygorous@nothings You push n items in the queue, you dec the semaphore by n. Done. -
@sssmcgrath@jwatte@rygorous@nothings Always wakes up enough number of threads, no race conditions.
End of conversation
New conversation -
-
-
@cmuratori@jwatte@rygorous@nothings Yeah I know they do, but afaik you can't get to the state that I mentioned easily with semaphores -
@sssmcgrath@jwatte@rygorous@nothings What state is that? - 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.