> So the point is that you cannot remove the semaphore when there are no > callers waiting in semop because that is a perfectly valid state.
Yes, but if function which acquires a semaphore is constructed as my_sem_acquire function it will be safe to remove the semaphore when it is released (if semaphore is "unlocked"). Wojciech Malota -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php