Re: [julia-users] Re: Terminate a task

2014-03-24 Thread Stefan Karpinski
Yes, we need this ability. Externally terminating and otherwise interacting with tasks is a good way to deal with things like timeouts and cancelling distributed work. On Mon, Mar 24, 2014 at 1:01 AM, Amit Murthy wrote: > I think currently the only way to interrupt a task is when it is blocked

Re: [julia-users] Re: Terminate a task

2014-03-23 Thread Amit Murthy
I think currently the only way to interrupt a task is when it is blocked on a condition variable by using the "notify" call. Will be good to have a "terminate(t::Task)" call. On Sun, Mar 23, 2014 at 9:08 PM, Bob Cowdery wrote: > Could you clarify please. If its on a blocking call how do I throw

[julia-users] Re: Terminate a task

2014-03-23 Thread Bob Cowdery
Could you clarify please. If its on a blocking call how do I throw an error and if its not complete why would the gc delete it. On Sunday, March 23, 2014 3:27:18 PM UTC, Bob Cowdery wrote: > > Is there any way to terminate a task that is stuck on a blocking call. I > can see that I can call ista