Gregory Stark <[EMAIL PROTECTED]> writes: > "Tom Lane" <[EMAIL PROTECTED]> writes: >> Seems to me this proves nothing much, since it doesn't use the same SysV >> semaphore API PG does.
> I was trying to copy the semaphore API exactly assuming > USE_NAMED_POSIX_SEMAPHORES was *not* defined. According to the comments we > prefer not to use named semaphores if possible. What you seem to have copied is the posix_sema.c code, which AFAIK is only used on Darwin. sysv_sema.c is what to look at ... unless your benchmark machine is a Mac. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings