roxen.lists.pike.general

Subject Author Date
Re: Blocking vs callback mode Martin Stjernholm <mast[at]lysator[dot]liu[dot]se> 21-01-2009
"Marc Dirix (Electronics Design)" <<marc[at]electronics-design.nl>> wrote:

> Ok. That clears the mist. Does this mean my "working" example is good to
> use? i.e. use set_blocking() to get rid of both callbacks before using
> gets() and use set_nonblocking(callbacks) after I'm done?

Yes, afaics it does exactly what you want there.