[v3] c++0x <mutex> and <condition_variable>

Chris Fairles chris.fairles@gmail.com
Wed Sep 3 17:19:00 GMT 2008


On Wed, Sep 3, 2008 at 12:43 PM, Chris Fairles <chris.fairles@gmail.com> wrote:
> On Wed, Sep 3, 2008 at 11:26 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
>>
>>>> Ok. Patch now looks great. A minor nit: can you resend a version making
>>>> sure that dg-do compile is always the *first* dg-* directive in the
>>>> testfile? I'm sure I saw spurious fails otherwise...
>>>
>
> Checked them all again. I think the dg-do's are first in all testcases now.
>
>>> I'm sorry, another one: timed_mutex/try_lock/2.cc doesn't have the full
>>> dg-do run / dg-options dance, is it intended?
>>
>
> Unintentional. Fixed.
>
>> ... and, assuming that doesn't create problems with the dg-error line
>> numbers, you can as well mark inline the various non-member swaps...
>>
>> Paolo.
>>
>
> Done. I also added explicit bool casts to unique_lock test cases where
> the bool conversion operator is being used since the operator itself
> is suppose to be explicit (unimplemented c++0x feature).
>
> Attached updated patch and changelog.
>
> Chris
>

Missed a few explicit bool casts.

Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mutex_cond_var_patch.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080903/b9e32369/attachment.txt>


More information about the Libstdc++ mailing list