Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-19 02:12:53


Victor A. Wagner, Jr. wrote:

>>The interesting part of "POSIX on semaphores" is in
>>
>> http://tinyurl.com/2s89
>>
>>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


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