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

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

cmikk@qwest.net wrote:
> Full_Name: Chris Miikkelson
> Version: 2.4.32
> OS: FreeBSD
> URL: 
> Submission from: (NULL) (
> mdb on BSD-derived systems other than OS X also needs to use POSIX semaphores
> for inter-process synchronization. I was working around this by adding
> "-D__APPLE__" to CFLAGS, but that could have side-effects on some systems. The
> following patch tells mdb to use posix semaphores if either BSD or __APPLE__ is
> defined, which seems like a more targeted fix.
> http://mikk.net/~chris/patches/0001-Use-posix-semaphores-on-apple-and-bsd-systems.patch
Thanks for the patch, applied.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/