Boost logo

Boost Users :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2004-02-16 17:18:56


Hi,

I am new to Boost, and like what I see.
I hope to be able to use more Boost libraries
in the C++ projects that I work on.

Would it be a good thing to add semaphore and barrier
classes to Boost Threads? For semaphores, having
something analogous to the POSIX functions
sem_wait() and sem_post()
would be nice.

For barriers, having something analogous to
pthread_barrier_wait() would be nice.

It is not very hard to roll your own versions
of these primitives using boost::condition
and boost::mutex classes, but it would
be nice to have them in a library.

Any opinions?

Thanks.

-- 
Craig Rodrigues        
http://crodrigues.org
rodrigc_at_[hidden]

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