Boost logo

Boost :

From: Robin Hu (huxw_at_[hidden])
Date: 2003-06-04 09:31:03


>>>>> "Stefan" == Stefan Seefeld <seefeld_at_[hidden]> writes:

    Stefan> hi there,

    Stefan> I'v been trying to find some info as to why semaphores are
    Stefan> considered harmful by the boost::thread authors, without
    Stefan> luck. Is there any concise text describing the problem ?

    Stefan> I'v been using semaphores for years and can't think of what
    Stefan> should be wrong with it.

    Semaphore can always be stimulated by using mutex + cond_var. and
    the only place that semaphore is a must is in signle-handler, but
    this is not within the area of threading programming. ;-)

    Stefan> Thanks, Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk