Nicolas Williams | 1 Sep 2009 20:52
Picon

Re: KITTEN: IETF 75 - 76

On Tue, Sep 01, 2009 at 11:13:03AM -0700, Love Hörnquist Åstrand wrote:
> 1 sep 2009 kl. 10:31 skrev Nicolas Williams:
> >The problem with the callback variant is that it implies a threaded
> >process model (which I don't mind, but which won't be feasible for  
> >some
> >implementors).
> 
> It does not require threads, the caller of the cb enabled ISC will  
> have to call the event loop, that in turn will call the callback call.
> 
> It does require though that you select one event process system (or  
> threads).

Yes, you're right, the callback variant implies one of: threaded process
model or async I/O event loop model.  We should at least specify that
the callback may be called in a different thread in the case of threaded
process models.

Nico
-- 

Gmane