Boost logo

Boost Users :

Subject: [Boost-users] counting semaphore boost 1.36
From: gali barabash (mailzivli_at_[hidden])
Date: 2008-10-20 13:50:02


Hello,
I would like to use a counting semaphore - and to make sure that the
threads will enter the semaphore by their arrival order.
Is there a build-in counting semaphore with some kind of priority queue?
if not, do boost threads have some kind of priority?
I've noticed that some people implemented counting semaphore with condition
variable, using wait and notify, but that doesn't keep the order.
Is there another way to do it without actually implement my own priority
queue?

Thanks in advance,
Gali



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net