"Magnus Hagander" <[EMAIL PROTECTED]> writes: > For #2, yes, the semaphores will go away when the last process holding a > HANDLE to it goes away.
Well, that raises an interesting point: exactly where in this code does ownership of the HANDLEs get propagated to the child processes? As written, the HANDLEs seem to belong only to the postmaster --- will the kernel calls even work in the child processes? According to what someone was telling me the other day, HANDLEs are process-local, so just storing them in shared memory doesn't seem like it should work. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly