Forum: JRuby Issue with java.util.concurrent.Callable

D0fce0d0c982f0ed2301ce51f7715153?d=identicon&s=25 Max Gonzih (Guest)
on 2014-05-17 09:40
(Received via mailing list)
Hi guys, so I was playing with concurrency in jruby and found some weird
behavior that I don't understand. Here is gist with code sample and
description: https://gist.github.com/Gonzih/f62ccc35a9d4d8d23ba0 in
short issue is that if I call proc from inside instance of Callable I
can't do any wrapping around this call (callbacks, error handilng and
etc). Can someone explain to me what is going on behind the scene?

Thanks!
Caa2df9372ffa0a9e95b2bab1e8fea34?d=identicon&s=25 Karol Bucek (Guest)
on 2014-05-17 14:41
(Received via mailing list)
keyboard - computer "in-between" error :) ... see comment.

next time try http://stackoverflow.com/questions/tagged/jruby

cheers, K.
D0fce0d0c982f0ed2301ce51f7715153?d=identicon&s=25 Max Gonzih (Guest)
on 2014-05-17 15:04
(Received via mailing list)
Oh, thanks! Duck typing played against me this time :)
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.