On Monday 12 November 2001 07:55 pm, Bill Stoddard wrote: > I need to study your proposal in detail... but for now I'll try to plant a > seed... > > Now seems to be a good time to consider what an async event driven network > API would look like :-) > > The worker and windows MPM architectures lend themselves to this. One (or > more) thread doing accepting; multiple workers blocked on a queue > (completion port, pthread condition varible, kqueue, /dev/poll, etc). > Hopefully should be simple extension to do non-blocking/async reads and > writes and have the completion status posted to the same queue the worker > threads are blocked on :-)
It would be simple to do. Because the socket is now stored in the filter itself, it should be relatively easy to have a single thread that does all of the writing. Of course, I'm not going to look at writing that MPM until this work is over. :-) Ryan ______________________________________________________________ Ryan Bloom [EMAIL PROTECTED] Covalent Technologies [EMAIL PROTECTED] --------------------------------------------------------------
