On Thursday, November 13, 2014 11:12:20 AM UTC+11, Gustavo Goretkin wrote:
>
> I guess in my use case I should be really using a queue, but I would like 
> to know whether a consume call will block on a Task.
>

Tasks are coroutines, not parallel constructs, so it must "block" as it 
transfers control to the produce call.  See 
http://docs.julialang.org/en/latest/manual/control-flow/?highlight=tasks#man-tasks

 Cheers
Lex

Reply via email to