
Nov. 21, 2001
3:51 p.m.
Itamar Shtull-Trauring wrote:
Update of /cvs/Twisted/twisted/internet In directory zaibach:/tmp/cvs-serv28575
Added Files: poll.py Log Message: preliminary poll()-based event loop
What I learned - the addReader/addWriter/etc. API is far too select() oriented. Every other alternative (poll, kqeue, windows event thing) works by registering and unregistering objects - correct me if I'm wrong. So instead of having to emulate a select()-like API, we need a select() wrapper that acts like poll(). In other words, addReader and friends must go when we refactor the event loop code.