Boost logo

Boost :

Subject: Re: [boost] condition_variable and the internal mutex
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-09-25 13:10:01


Le 25/09/12 16:26, Maxim Yegorushkin a écrit :
> Hi Boost,
>
> I was surprised to see an internal mutex added to
> boost::condition_variable implementation in the recent versions of
> Boost. Quick internet searched revealed that this was done to better
> support thread cancellation:
>
> http://permalink.gmane.org/gmane.comp.lib.boost.devel/210235
>
> That thread ends with a suggestion to add back a zero-overhead
> pthread_cond_t wrapper and no reply.
>
> So I was wondering whether there plans to reinstate that wrapper or
> should Boost users that are not concerned with thread cancellation but
> are rather concerned with code performance drop using
> boost::condition_variable and resort to writing their own wrapper?
>
Hi,

I've forgotten this old post. Please could you create a ticket? I would
try to take care of it, but this will take some time.

I would have the time to see also if I can implement cancelable threads
on top of non-cancelable threads, but this has yet less priority.

Best,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk