In this proposal/issue thread it is discussed that this can be achieved via 
the schedule method but I have not been able to find an example or doc on 
it:

https://github.com/JuliaLang/julia/issues/6283

Thanks,

Robert

Den lördag 17 januari 2015 kl. 07:39:25 UTC+1 skrev René Donner:
>
> Is there also something like interrupt(task) to selectively kill one of 
> several tasks? I could not find anything in the docs. 
>
> Thanks! 
>
>
> Am 17.01.2015 um 04:24 schrieb Isaiah Norton <[email protected] 
> <javascript:>>: 
>
> > Have you tried using tasks with start_timer and interrupt? 
> > 
> > On Tue, Jan 13, 2015 at 7:42 AM, Robert Feldt <[email protected] 
> <javascript:>> wrote: 
> > Is there any way to run a function a maximum time without adding 
> additional procs? I now use an implementation based on this StackOverflow 
> answer: 
> > 
> > 
> http://stackoverflow.com/questions/23809515/julia-can-you-set-a-time-limit-on-eval
>  
> > 
> > but it requires waiting to add the procs, making sure code loads on all 
> procs etc. Is there some simpler/shorter/quicker way? 
> > 
> > Best regards, 
> > 
> > Robert Feldt 
> > 
> > 
>
>

Reply via email to