Req #16913 [Fbk->NoF]: sem auto release should be to be disabled!!!

From: Date: Sun, 14 Apr 2019 04:22:05 +0000
Subject: Req #16913 [Fbk->NoF]: sem auto release should be to be disabled!!!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220438@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=16913&edit=1 ID: 16913 Updated by: php-bugs@lists.php.net Reported by: AlberT at SuperAlberT dot it Summary: sem auto release should be to be disabled!!! -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: Semaphore related Operating System: Linux 2.4.18 PHP Version: 4.1.2 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2019-04-01 22:16:54] kalle@php.net Is this still a thing? Ps. sorry for the long response time! ------------------------------------------------------------------------ [2002-04-29 14:28:29] AlberT at SuperAlberT dot it 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 this bug report at https://bugs.php.net/bug.php?id=16913&edit=1

« previous php.bugs (#220438) next »