Boost logo

Boost :

From: Andreas Pokorny (diemumiee_at_[hidden])
Date: 2004-06-26 12:45:41

I have problems understanding how mutexes, scoped locks and conditions
should work togehter.
I took the condition.cpp example and with the buffered shared by two
threads as a basis of my code:

There is a list filled by one thread, and a thread that removes the entries
after they have been downloaded using curl. The worker-thread waits for
a jobs_empty condition and the insertion method calls notify_one after
every insertion.
Currently the worker-thread just prints "Sitting and waiting", and never
reacts on any calls of notifiy_one().

Andreas Pokorny

Boost list run by bdawes at, gregod at, cpdaniel at, john at