Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 Sep 2007 00:32:46 +0000 (00:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 26 Sep 2007 00:32:46 +0000 (00:32 +0000)
commit924e87af7de6eeb9fe19705977ee1f711ced3177
treec8b5e585e42fccfcb1298b1b44b2baa9ae1040ba
parentfc0ee062aafa5ec800dc0461387c3b01ca3d85ec
Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2
and up), per Chris Marcellino.  This avoids consuming O(N^2) file
descriptors to support N backends.  Tests suggest it's about a wash for
small installations, but large ones would have a problem.
src/template/darwin