Answering my own question, there seems there's a function throwto( task, exc )
On Friday, October 24, 2014 2:40:20 PM UTC+7, Tony Fong wrote: > > Right. looking into it... > > How do you stop a task preemptively in Julia's built-in framework? > > On Friday, October 24, 2014 8:07:19 AM UTC+7, Steven G. Johnson wrote: >> >> >> >> On Thursday, October 23, 2014 9:13:06 AM UTC-4, Tony Fong wrote: >>> >>> I also have a similar need. If I want to be more fancy, what may be the >>> strategy to address the following 2-way communication? >>> * UI -> worker: send pause, abort >>> * worker -> UI: progress report, summary state (presumably to allow UI >>> to do fancier presentation) >>> >>> I'm thinking about looking into TcpSocket. is it doable? overkill? >>> >> >> Why not just use Julia's built-in parallel inter-process communication >> functions? >> >
