For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > April 2004 > #28135 [Opn->Csd]: ext/sysvsem functions return/use resources not integer ids









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #28135 [Opn->Csd]: ext/sysvsem functions return/use resources not integer ids
betz@php.net

2004-04-24, 4:30 pm

ID: 28135
Updated by: betz@php.net
Reported By: andrey@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
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.


Previous Comments:
------------------------------------------------------------------------

[2004-04-24 15:57:58] andrey@php.net

Description:
------------
According to the documentation all ext/sysvsem functions return or use
integer ids as identifiers of semaphores. That's not true.
The functions are :
# sem_acquire - uses resource
# sem_get - returns resource
# sem_release - uses resource
# sem_remove - uses resource

The protos in ext/sysvsem/sysvsem.c are correct.

Andrey



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=28135&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com