@bascule we basically import MRI's standard lib. If you have specific fixes, we're happy to patch.
Hey @jruby and @rubinius, do you provide optimized ConditionVariables? Looking to reimplement MRI's for @celluloidrb due to perf regressions
-
-
-
@rubinius it seems like ConditionVariables should just map directly to pthread_cond_*. I'm going to try that with a MRI extension -
-
-
-
@seancribbs@evanphx@rubinius Thread.handle_interrupt is terrible and makes me want to ditch ConditionVariable -
@bascule@seancribbs@rubinius How's it breaking CondVar? -
@evanphx@seancribbs@rubinius major perf regression. 40% slower in some cases /cc@mperham@halorgium
End of conversation
New conversation -
-
-
@bascule@celluloidrb They're native in JRuby at least. If they're not fast enough, let me know. -
@headius@celluloidrb I think on@JRuby we want to look into mailboxes built on ArrayBlockingQueue -
@bascule@celluloidrb Yeah, right now it's using plain old Java object monitors. Could probably be done faster...maybe lock-free. -
@headius@celluloidrb maybe we should chat some time about it, but ABQ seems plausible, right? LinkedTransferQueue maybe? -
@bascule@celluloidrb We can chat for sure. I have played with almost everything in j.u.concurrent for Fiber/etc.
End of conversation
New conversation -
-
-
@bascule talked to@carllerche and he said pthread cond vars too. /cc@jruby@rubinius@celluloidrbThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.