Tanguy Krotoff wrote:
OK thanks, I didn't find this mailing list thread while looking for
thread_safe_signals
Do you know how to integrate QApplication::postEvent() with
thread_safe_signals?? :D
I'm attaching version which integrates with QT...
Look for classes QtComm and qtsignal
I didn'
Vadim Lebedev wrote:
I'm not sure to understand. connect() and notify() (e.g operator())
use the same mutex, actions are atomic in this case.
Unless i'm looking in the wring place:
http://dev.openwengo.com/trac/openwengo/trac.cgi/browser/owutil/trunk/event/Event.h
i don't see any mutexes th
Tanguy Krotoff wrote:
Vadim Lebedev wrote:
Vadim Lebedev wrote:
Hello,
I've looked into Event family classes, and is seems kind of hairy and
messy.
On order to do thread safe events we need today to:
1) Declare a nonsafe event
2) attach a non-safe handler
3) decale a safe event
4) atta
LOL
I sent replies in 2 differents mails
Vadim Lebedev wrote:
Vadim Lebedev wrote:
Vadim Lebedev wrote:
Hello,
I've looked into Event family classes, and is seems kind of hairy and
messy.
Tanguy,
The stuff i wrote about multi-threaded events is such a bull shit that
does not merit an
Vadim Lebedev wrote:
Vadim Lebedev wrote:
Hello,
I've looked into Event family classes, and is seems kind of hairy and
messy.
On order to do thread safe events we need today to:
1) Declare a nonsafe event
2) attach a non-safe handler
3) decale a safe event
4) attach a safe handler
The non
Vadim Lebedev wrote:
Vadim Lebedev wrote:
Hello,
I've looked into Event family classes, and is seems kind of hairy and
messy.
Tanguy,
The stuff i wrote about multi-threaded events is such a bull shit that
does not merit an answer?
Vadim
___
Vadim Lebedev wrote:
So i've looked around and found, thread-safe signals implementation for
boost:
http://boost-sandbox.cvs.sourceforge.net/boost-sandbox/boost-sandbox/boost/thread_safe_signals/
Btw it is intgerated in boost 1.34.0 (which is in beta now) as standard
signal package
I have d
Vadim Lebedev wrote:
Hello,
I've looked into Event family classes, and is seems kind of hairy and
messy.
On order to do thread safe events we need today to:
1) Declare a nonsafe event
2) attach a non-safe handler
3) decale a safe event
4) attach a safe handler
The non safe handler have to c
Hello,
I've looked into Event family classes, and is seems kind of hairy and
messy.
On order to do thread safe events we need today to:
1) Declare a nonsafe event
2) attach a non-safe handler
3) decale a safe event
4) attach a safe handler
The non safe handler have to create a ThreadEvent mes