<<On Wed, 18 Sep 2002 22:16:07 -0400 (EDT), Daniel Eischen <[EMAIL PROTECTED]> said:
> The semaphore remains active until it is destroyed. If you don't > want to track its page, can you hook it into ipcrm(1)? A simple way of implementing process-shared anonymous semaphores, using the kernel support, is to simply create a temporary semaphore, and (important part) store the pathname in the sem_t. Then, every semaphore operation becomes sem_open, kernel operation, sem_close, and destroy unlinks the temporary semaphore. This would be a poor-quality implementation, but it would work. A better implementation would not use a temporary semaphore at all. -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message