From: Serguei Kolos (Serguei.Kolos_at_[hidden])
Date: 2005-02-08 05:35:36


Hello

>
>> 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 assume you're talking about POSIX signals, not Boost.Signal here.
>
> Boost.Signal is a signal/slot mechanism, providing similar functionality
> to Qt signals and slots (but in pure C++).

You are right, my quick impression was wrong.

>
> Boost does not offer any assistance for asynchronous signal handling.

This is shame. That's why I don't understand why Boost.Thread does not
support semaphores anymore. Without semaphores correct handling of
POSIX signals in MT application is impossible.

Cheers,
Sergei