From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.18
PHP version:      4.1.2
PHP Bug Type:     Semaphore related
Bug description:  semaphore autorelease can be a bug....

sem_acquire() function has this behavior:

After processing a request, any semaphores acquired by the process but
not explicitly released will be released automatically and a warning
will be generated. 

This is not a great thing, infact in this way the readers/writers
classical IPC problem, with writers precedence is impossible to
implement !!!

I think an option to disable autorelease is usefull.

(I sent a feature/change request, but I had no feadback :-( )

-- 
Edit bug report at http://bugs.php.net/?id=16986&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16986&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16986&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16986&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16986&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16986&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16986&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16986&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16986&r=submittedtwice

Reply via email to