Home threaded variable propagation / inheritance
Reply: 0

threaded variable propagation / inheritance

user371 Published in July 17, 2018, 3:26 pm

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.365307 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO