Home threaded variable propagation / inheritance
Reply: 0

threaded variable propagation / inheritance

zach
1#
zach Published in 2017-12-07 22:23:44Z

I'm trying to communicate information to all child threads but not sibling threads. For example. If I am starting a threaded background job, I want to set a variable to true and have it be true for all threads the background job may spawn but not necessarily other background job threads.

How can I go about this?

Ruby 2.1.2 Rails 4.1.16

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.312142 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO