Doc #66270 [Opn->Csd]: sem_get() expects an already created pack of semaphores to have 3 of them.
| From: | aharvey@php.net | Date: | Thu, 12 Dec 2013 18:36:44 +0000 |
| Subject: | Doc #66270 [Opn->Csd]: sem_get() expects an already created pack of semaphores to have 3 of them. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10704@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66270&edit=1
ID: 66270
Updated by: aharvey@php.net
Reported by: xruppen at gmail dot com
Summary: sem_get() expects an already created pack of
semaphores to have 3 of them.
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Fixed. We should definitely leave bug #61608 open to track eventually fixing this, though, because
it seems a weirdly arbitrary limitation.
Previous Comments:
------------------------------------------------------------------------
[2013-12-12 10:29:33] xruppen at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.sem-get
---
When trying to retrieve an already created pack of SystemV semaphores (by an already running C
application), sem_get apparently expects that pack to contain exactly 3 semaphores. It is NOT
documented anywhere in the PHP documentation. The solution to this problem was found at these two
locations :
https://bugs.php.net/bug.php?id=61608
http://www.serverphorums.com/read.php?8,312273
It really should be documented as not only it is weird but cannot be guessed.
Expected result:
----------------
The doc page of sem_get() should contain a note about that.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66270&edit=1