16 Feb
2004
16 Feb
'04
10:18 p.m.
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@crodrigues.org