[PATCH, v3] Bringing <mutex> and <condition_variable> up to spec.

Benjamin Kosnik bkoz@redhat.com
Tue Jul 29 19:28:00 GMT 2008


> 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



More information about the Libstdc++ mailing list