Would need to look to see if notify() only uses things that are allowed in a signal handler, then it could be a good way to do it.
[Note: I suspect notify() causes stack manipulations and those are not allowed in the signal handler, but I am not able to check right now] On Friday, January 15, 2016 at 10:31:57 AM UTC+10, Eric Forgy wrote: > > I wonder if you can do what you want to do using Tasks and Conditions > <http://docs.julialang.org/en/release-0.4/stdlib/parallel/#Base.Condition>? > Your use case seems tailored for these guys. >
