This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] c++0x timed wait's in <condition_variable>


On Tue, Sep 23, 2008 at 11:25 AM, Paolo Carlini
<paolo.carlini@oracle.com> wrote:
> Hi,
>> This issue is also discussed in DR 887 (not public yet I don't think,
>> check the lwg active issues list post San Fran). I spoke with Howard
>> H. and the intent of the wording is to allow user-defined clocks to be
>> used with condition variables given that cond var's may only work with
>> some "known" clock type(s). If a user calls wait_* with an unknown
>> clock type, then it must first be synced to the known clock.
>>
> I see, I'll try to have a look to 887...
>> Attached updated patch. Tested x86_64 (with --enable-clock-gettime=rt).
>>
> I would suggest also testing without --enable-clock-gettime, make sure
> the default is not broken for some reason...
>> Ok for mainline?
>>
> Yes. Thanks a lot,
> Paolo.
>
>

Tested w/o --enable-clock-gettime, no regressions. Committed to mainline.

Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]