From: [EMAIL PROTECTED] 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