|
Boost : |
From: Serguei Kolos (Serguei.Kolos_at_[hidden])
Date: 2005-02-07 05:04:35
Unfortunately this is not true. Mutex and Condition are not async-signal
safe. They can not be used in signal handlers.
Matt Hurd wrote:
> On Mon, 07 Feb 2005 10:14:28 +0100, Serguei Kolos <Serguei.Kolos_at_[hidden]> wrote:
>
>>Boost.Signal is clamed to be non thread safe. Boost.Thread does not
>>have semaphores. So how in the world I can synchronize signal handlers
>>with threads?
>>I have found an old discussion about this issue in the mailing list
>>archive but it has no conclusion and no practical advises. Do people
>>think this is non issue?
>
>
> Not sure I understand what you're asking, but I think a condition from
> boost::thread will do what you want.
>
> Matt.
> matthurd_at_[hidden]
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk