On Jul 29, 2013, at 8:28 AM, lindenk <ztaticn...@gmail.com> wrote:
> 
> Ah, no I mean, what if do_some_blocking_function blocks for some 
> indeterminate amount of time. I would like it to exit even when it is 
> currently blocking (as it could be unpredictable when it will stop blocking).

Execute the blocking functions in a separate thread?  Really, this sounds like 
the kind of thing futures are for.  Alternately, maybe the sequence of blocking 
functions could call receive periodically, or maybe be executed in a fiber and 
yield periodically, etc.

Reply via email to