Reminder that Ruby mutexes are not reentrant and concurrent IO.select on a socket fails. In a gif: http://24.media.tumblr.com/tumblr_mdkn5nAy4C1qdlh1io1_400.gif …
-
-
@bascule sort of. Couldn’t find a primitive I need. Would love to chat about it, though -
@michaelklishin what primitive is that? -
@bascule java.lang.Object#wait or j.u.c blocking queue with a timeout, on all Rubies (incl. 1.8) -
@michaelklishin perhaps check out Celluloid Conditions (not documented yet, sorry) and Celluloid::Future#value + timeout? -
@bascule I did find Celluloid::Future, thanks, I’ll take a closer look
End of conversation
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.