This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

POSIX barriers and rwlocks


Hi,

I am in the process of preparing a patch
to add POSIX barriers and rwlocks to newlib's
pthread.h and sys/types.h.


The glibc headers have them protected with the
ifdef __USE_XOPEN2K.  As far as I can tell, this
is always defined since a simple program which
doesn't define this can use barriers.

How should these definitions be wrapper in newlib?

--joel


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