Boost logo

Boost :

Subject: Re: [boost] [threads / signals2] Win events replace by boost signals (threadsafe)
From: Fu ji (fujimailing_at_[hidden])
Date: 2015-03-24 05:28:57


Condition variable can be a really good solution to my problem, I have only
problem with WaitForMultipleObjects because with cond_var I have to check
all "events" in loop with cond.timed_wait. There is a better solution ?

Best Regards,

2015-03-23 16:41 GMT+01:00 Steven Watanabe <watanabesj_at_[hidden]>:

> 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
>
>
>
> _______________________________________________
> 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