[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7363) libmdb should use POSIX semaphores on non-apple BSD systems too.
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7363) libmdb should use POSIX semaphores on non-apple BSD systems too.
- From: hyc@symas.com
- Date: Wed, 29 Aug 2012 06:21:15 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
h.b.furuseth@usit.uio.no wrote:
> We can #ifndef PTHREAD_PROCESS_SHARED instead of BSD, unless someone
> #define it without supporting it. Not for MDB_FDATASYNC though.
>
PTHREAD_PROCESS_SHARED is defined just about everywhere, that's not a useful
test. (You only discover at runtime that the mutex creation/init failed...)
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/