> I don't understand. If your "FIFO" is some kind of refcount that won't
> work because the refcount would not be shared by multiple separate
> PHP processes. You would have to put the refcount in shared memory
> and even then there's no guarantee that the semaphore will be cleaned
> up properly because any exit routine will not run if the application
> is killed, crashes, aborts, etc.

FIFO in this context is a queue of processes which are waiting for acquiring 
occupied semaphore.
This queue is managed by operating system and is implemented in mechanism of 
semaphores.
I think that there must be possibility to check if this queue is empty.

Wojciech Malota 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to