Boost logo

Boost :

From: helmut.zeisel_at_[hidden]
Date: 2001-10-12 01:39:05


--- In boost_at_y..., mf_dylan_at_y... wrote:

> One thing though, how would I go about waiting on multiple
> conditions? This is actually the norm in much of my multi-thread
> work...most of the time is spending waiting on various threads and
> conditions, usually one of them is a "shutdown" event, another is a
> checking for work to do etc. etc.
>

I do not understand completely:

When you do the same work on every condition,
why do you use different conditions?

When you do different work on each condition,
why don't you use for every condition
a specfic worker thread that waits for only one condition?

Helmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk