Victor A. Wagner, Jr. wrote:
The interesting part of "POSIX on semaphores" is in
Look the the phrase "Much experience with semaphores shows" and futher paragraphs. In essense, it's says that semaphores are for signal handlers and for inter-process synchronization and discourages their use anywhere else.
fine....does this mean we can get semaphores now?
I don't know. I'm just sharing pieces of information which made *me* suspicious of semaphores.
or is it still considered "too dangerous" to let people who've been aware of the limitations since before boost existed actually USE them?
Don't know again -- I'm not the maintainer. But it's sure thing that if semaphores are available many will try to use them without even reading docs which say that condition variables are safer. - Volodya