Bug #16913: sem auto release should be to be disabled!!!
| From: | AlberT at SuperAlberT dot it | Date: | Mon, 29 Apr 2002 18:28:30 +0000 |
| Subject: | Bug #16913: sem auto release should be to be disabled!!! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6486@lists.php.net to get a copy of this message | ||
From: AlberT@SuperAlberT.it
Operating system: Linux 2.4.18
PHP version: 4.1.2
PHP Bug Type: Feature/Change Request
Bug description: sem auto release should be to be disabled!!!
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.
--
Edit bug report at http://bugs.php.net/?id=16913&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16913&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16913&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16913&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16913&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16913&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16913&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16913&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16913&r=submittedtwice