|
Boost : |
Subject: Re: [boost] [threads / signals2] Win events replace by boost signals (threadsafe)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-23 11:41:05
AMDG
On 03/23/2015 02:55 AM, Fu ji wrote:
>
> I have to change win32 events with something portable so I decided to use
> boost.signals2.
>
Boost.Signals2 isn't really a good tool for
synchronization. That isn't its purpose.
Try using boost::condition_variable
from Boost.Thread, instead.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk