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

From: Date: Mon, 01 Apr 2019 22:16:54 +0000
Subject: Req #16913 [Opn->Fbk]: sem auto release should be to be disabled!!!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220283@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: kalle@php.net Reported by: AlberT at SuperAlberT dot it Summary: sem auto release should be to be disabled!!! -Status: Open +Status: Feedback Type: Feature/Change Request Package: Semaphore related Operating System: Linux 2.4.18 PHP Version: 4.1.2 Block user comment: N Private report: N New Comment: Is this still a thing? Ps. sorry for the long response time! Previous Comments: ------------------------------------------------------------------------ [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 (#220283) next »