The following code fails after the first call:

if(!($lock_id = sem_get(2501)) || !sem_acquire($lock_id))
  die('failed to get semaphore') something, error triggers "exit;"..

But having sem_release right after acquire makes everything work ok. I
use FreeBSD and see there was some report of a similar problem at, but there is no solution, patch, work arounds, etc posted.

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to