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

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

Chris Mikkelson writes:
> 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.

Yes, sorry about that.

How about something like a "__BSD" preprocessor symbol to replace
"BSD"?  There surely is one.  It'll start with an underscore
followed by either another underscore or an uppercase letter.