[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7363) libmdb should use POSIX semaphores on non-apple BSD systems too.

On Wed, Aug 29, 2012 at 08:07:31AM +0200, Hallvard Breien Furuseth wrote:
> We can #ifndef PTHREAD_PROCESS_SHARED instead of BSD, unless someone
> #define it without supporting it.  Not for MDB_FDATASYNC though.

The *BSD systems define PTHREAD_PROCESS_SHARED but do
not implement sharable pthread mutexes. The flag name
is part of the API, but implementation of the behavior
it requests is optional.

Chris Mikkelson  | Quidquid latine dictum sit, altum viditur
cmikk@qwest.net  |