From: Jano <nono@celes.unizar.es>
Subject: Re: Tasks unleashed
Date: Fri, 2 May 2003 13:21:13 +0200
Date: 2003-05-02T13:21:13+02:00 [thread overview]
Message-ID: <MPG.191c7316c64d7b29896f3@News.CIS.DFN.DE> (raw)
In-Reply-To: 5Ejsa.430589$OV.427578@rwcrnsc54
tmoran@acm.org dice...
> >In any case, the memory thing forces to use pools of reusable tasks,
> >it's my main and crucial conclusion.
>
> Have you considered a protected Buffer of work to do and a fixed pool of
> tasks which queue on an entry waiting for the Buffer to have some work to
> do (or instructions to quit)? Then you needn't create or destroy the
> worker tasks.
That's exactly what I'm doing :) but sometimes the "fixed" compromise
bugs me. ITOH, normally is better to have a upper bound for things, I
think.
--
-------------------------
Jano
402450.at.cepsz.unizar.es
-------------------------
next prev parent reply other threads:[~2003-05-02 11:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-01 14:01 Tasks unleashed Jano
2003-05-01 15:40 ` Stephen Leake
2003-05-01 16:14 ` Robert A Duff
2003-05-01 16:30 ` Jano
2003-05-02 1:14 ` tmoran
2003-05-02 11:21 ` Jano [this message]
2003-05-02 23:52 ` tmoran
2003-05-11 5:35 ` Craig Carey
2003-05-11 15:35 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox