Forum: Ruby common variable for all threads

Posted by Prog Rammer (proggrammer)
on 2012-10-10 14:16
What variable (shared or global variable) should I use to make it use by
every spawned thread?

I dont want any other thread blocked due to resource blockage.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.