Re: async-calls squid3/src AsyncCallQueue.cc,NONE,1.1.2.1 AsyncCallQueue.h,NONE,1.1.2.1 AsyncCall.cc,1.3.22.10,1.3.22.11 AsyncCall.h,1.3.22.17,1.3.22.18 EventLoop.cc,1.5.4.2,1.5.4.3 Makefile.am,1.131.4.3,1.131.4.4

From: Robert Collins <robertc@dont-contact.us>
Date: Thu, 20 Dec 2007 13:58:12 +1100

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>.

Received on Wed Dec 19 2007 - 19:58:08 MST

This archive was generated by hypermail pre-2.1.9 : Mon Dec 31 2007 - 12:00:03 MST