Boost logo

Boost :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-01-13 06:27:36


Sohail Somani wrote:
> Somewhat longer-than-normal-noise follows :)
>
> Consider the following pseudo-code which has a race condition:

<code snipped>

Could you please tell me what is the purpose of the code, i.e. what are
you trying to achieve?

What is different between just starting all threads and letting them do
their work, and starting them holding them and then starting again?

Are you trying to emulate something similar as starting the threads in a
suspended state, later trying to fire them at once?

Roland


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