On Wed, 2007-12-19 at 23:09 +0000, Alex Rousskov wrote:
> Update of cvs.devel.squid-cache.org:/cvsroot/squid/squid3/src
>
> Modified Files:
> Tag: async-calls
> AsyncCall.cc AsyncCall.h EventLoop.cc Makefile.am
> Added Files:
> Tag: async-calls
> AsyncCallQueue.cc AsyncCallQueue.h
> Log Message:
> Async calls are not longer using time-based events with zero delay. They
> have a dedicated AsyncCallQueue.
Good so far.
...
> I did not make the queue a child of the Dispatcher because I hope to get
> rid of dispatchers eventually.
...
Can I ask why? The point of the current design is to allow integrating
some quite different sources of events *and* workers.
E.g. the dispatch of disk IO to different threads fits in cleanly in the
current design IMO.
-- GPG key available at: <http://www.robertcollins.net/keys.txt>.
This archive was generated by hypermail pre-2.1.9 : Mon Dec 31 2007 - 12:00:03 MST