On Sat, 2006-07-15 at 15:30 -0700, Erick Tryzelaar wrote:
> proto_async(int n0, int n1, int m1, int n2, int m2) :
> async_active(n0), driver(async_active,n1,m1,n2,m2)
> {
> // start waiting thread. note that we only have ONE event waiting
> thread.
> // that's currently important for clean takedowns, at least for the
> // kqueue demuxer. see its destructor comments for more info.
As an aside .. this just isn't true. Demuxer waiting stuff is
only monitoring one kind of event: state changes on sockets.
AFAIK even the timer uses a distinct thread. Original Linux
SDL implementation also used a thread to wait for keyboard
events.. etc. Be good to clarify some of these comments.
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language