dams Sat Feb 1 23:51:50 2003 EDT
Modified files:
/phpdoc/en/reference/sem/functions sem-acquire.xml sem-get.xml
sem-release.xml sem-remove.xml
Log:
entity update
Index: phpdoc/en/reference/sem/functions/sem-acquire.xml
diff -u phpdoc/en/reference/sem/functions/sem-acquire.xml:1.2
phpdoc/en/reference/sem/functions/sem-acquire.xml:1.3
--- phpdoc/en/reference/sem/functions/sem-acquire.xml:1.2 Wed Apr 17 02:43:52
2002
+++ phpdoc/en/reference/sem/functions/sem-acquire.xml Sat Feb 1 23:51:50 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/sem.xml, last change in rev 1.2 -->
<refentry id="function.sem-acquire">
<refnamediv>
@@ -13,14 +13,14 @@
<methodparam><type>int</type><parameter>sem_identifier</parameter></methodparam>
</methodsynopsis>
<para>
- Returns: &true; on success, &false; on error.
- </para>
- <para>
<function>sem_acquire</function> blocks (if necessary) until the
semaphore can be acquired. A process attempting to acquire a
semaphore which it has already acquired will block forever
if acquiring the semaphore would cause its max_acquire value to
be exceeded.
+ </para>
+ <para>
+ &return.success;
</para>
<para>
After processing a request, any semaphores acquired by the
Index: phpdoc/en/reference/sem/functions/sem-get.xml
diff -u phpdoc/en/reference/sem/functions/sem-get.xml:1.3
phpdoc/en/reference/sem/functions/sem-get.xml:1.4
--- phpdoc/en/reference/sem/functions/sem-get.xml:1.3 Mon Apr 29 09:11:04 2002
+++ phpdoc/en/reference/sem/functions/sem-get.xml Sat Feb 1 23:51:50 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/sem.xml, last change in rev 1.2 -->
<refentry id="function.sem-get">
<refnamediv>
@@ -15,10 +15,6 @@
<methodparam
choice="opt"><type>int</type><parameter>perm</parameter></methodparam>
</methodsynopsis>
<para>
- Returns: A positive semaphore identifier on success, or &false; on
- error.
- </para>
- <para>
<function>sem_get</function> returns an id that can be used to
access the System V semaphore with the given key. The semaphore
is created if necessary using the permission bits specified in
@@ -26,6 +22,10 @@
acquire the semaphore simultaneously is set to max_acquire
(defaults to 1). Actually this value is set only if the process
finds it is the only process currently attached to the semaphore.
+ </para>
+ <para>
+ Returns: A positive semaphore identifier on success, or &false; on
+ error.
</para>
<para>
A second call to <function>sem_get</function> for the same key
Index: phpdoc/en/reference/sem/functions/sem-release.xml
diff -u phpdoc/en/reference/sem/functions/sem-release.xml:1.2
phpdoc/en/reference/sem/functions/sem-release.xml:1.3
--- phpdoc/en/reference/sem/functions/sem-release.xml:1.2 Wed Apr 17 02:43:52
2002
+++ phpdoc/en/reference/sem/functions/sem-release.xml Sat Feb 1 23:51:50 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/sem.xml, last change in rev 1.2 -->
<refentry id="function.sem-release">
<refnamediv>
@@ -13,19 +13,20 @@
<methodparam><type>int</type><parameter>sem_identifier</parameter></methodparam>
</methodsynopsis>
<para>
- Returns: &true; on success, &false; on error.
- </para>
- <para>
<function>sem_release</function> releases the semaphore if it
is currently acquired by the calling process, otherwise
a warning is generated.
</para>
<para>
+ &return.success;
+ </para>
+ <para>
After releasing the semaphore, <function>sem_acquire</function>
may be called to re-acquire it.
</para>
<para>
- See also: <function>sem_get</function> and
+ See also
+ <function>sem_get</function> and
<function>sem_acquire</function>.
</para>
<note>
Index: phpdoc/en/reference/sem/functions/sem-remove.xml
diff -u phpdoc/en/reference/sem/functions/sem-remove.xml:1.2
phpdoc/en/reference/sem/functions/sem-remove.xml:1.3
--- phpdoc/en/reference/sem/functions/sem-remove.xml:1.2 Wed Apr 17 02:43:52
2002
+++ phpdoc/en/reference/sem/functions/sem-remove.xml Sat Feb 1 23:51:50 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/sem.xml, last change in rev 1.7 -->
<refentry id="function.sem-remove">
<refnamediv>
@@ -13,14 +13,13 @@
<methodparam><type>int</type><parameter>sem_identifier</parameter></methodparam>
</methodsynopsis>
<para>
- Returns: &true; on success, &false;
- on error.
- </para>
- <para>
<function>sem_remove</function> removes the semaphore
<parameter>sem_identifier</parameter> if it
has been created by <function>sem_get</function>,
otherwise generates a warning.
+ </para>
+ <para>
+ &return.success;
</para>
<para>
After removing the semaphore, it is no more accessible.
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php