Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

Kagamin spam at here.lot
Tue Jul 12 06:44:34 PDT 2011


Piotr Szturmaj Wrote:

> Reactor is event handling pattern, when client specify event handlers 
> like onRecv() and just wait for the events - these are delivered as soon 
> as they arrive. Proactor on the other side requires that client issue 
> each asynchronous operation manually - there will be no events delivered 
> until client requests them.
> 
> For example in linux's epoll, events are delivered as soon as there is 
> available data in the buffer (in level triggered mode). In Windows NT 
> family recv event is delivered only after successfull call to WSARecv().

epoll seems like windows synchronization api except that in windows one shouldn't wait on file handles directly.


More information about the Digitalmars-d mailing list