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: [PATCH, v3] Bringing <mutex> and <condition_variable> up to spec.


On Tue, Jul 29, 2008 at 1:21 PM, Benjamin Kosnik <bkoz@redhat.com> wrote:
>
>> Just want to check if I'm on the right track with the gthread backend
>> modifications (see attached patch for changes). I'm trying not to
>> touch too much objc stuff because I'm not at all familiar with it.
>
> This looks like  you are on the right track to me.
>
> ;)
>
>> One question about _POSIX_TIMEOUTS. The *timedlock's are available if
>> its defined, in the gthr-single, should the wrapper return -1
>> indicating its not supported or should there be no def'n at all? (Same
>> sort of question for gthr-posix.c although there I just don't define
>> the stub w/p _POSIX_TIMEOUTS).
>
> I think no definition is probably better than -1.
>
> best,
> -benjamin
>

Attached patches update <mutex> and <condition_variable> along with
additional gthread backend support. The implementations are still not
complete such as the variadic lock/try_lock's but its a lot closer!

Chris

Attachment: mutex_cond_var_patch.txt
Description: Text document

Attachment: Changelog_thread.txt
Description: Text document

Attachment: gthr-patch.txt
Description: Text document

Attachment: Changelog_gthr.txt
Description: Text document


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