summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>2005-05-27 15:02:01 +0000
committerrpj <rpj>2005-05-27 15:02:01 +0000
commit1908d93b42b01cea49c886e2260fd70ac05becf7 (patch)
treeec777e5032d26aca05769861426d9b50ae861dc2
parent3cbb649e9987e4ed8b3dab44656b88450c59dcc8 (diff)
''
-rw-r--r--manual/pthread_once.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/manual/pthread_once.html b/manual/pthread_once.html
index 8caa864..ed91c20 100644
--- a/manual/pthread_once.html
+++ b/manual/pthread_once.html
@@ -5,7 +5,7 @@
<TITLE>PTHREAD_ONCE(3) manual page</TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.3 (Linux)">
<META NAME="CREATED" CONTENT="20050505;322600">
- <META NAME="CHANGED" CONTENT="20050505;21140800">
+ <META NAME="CHANGED" CONTENT="20050528;574400">
<!-- manual page source format generated by PolyglotMan v3.2, -->
<!-- available at http://polyglotman.sourceforge.net/ -->
</HEAD>
@@ -42,10 +42,10 @@ nothing.
<I>init_routine</I> can be. The required effect on <I>once_control</I>
of a cancellation inside the <I>init_routine</I> is to leave it as if
<B>pthread_once</B> had not been called.</P>
-<P><B>Pthreads-w32</B> handles <I>init_routine</I> cancellation by
-making any threads, that may be waiting on <I>once_control</I>,
-re-compete along with any newly arriving threads in the re-running of
-<I>init_routine</I>.</P>
+<P>If the <I>init_routine</I> is cancelled and there are threads
+waiting on the once_control then <B>Pthreads-w32</B> wakes one of
+them so that it can re-compete along with any newly arriving threads
+in the re-running of <I>init_routine</I>.</P>
<H2><A HREF="#toc4" NAME="sect4">Return Value</A></H2>
<P STYLE="text-decoration: none"><FONT COLOR="#000000"><B>pthread_once</B>
returns 0 on success, or an error code on failure.</FONT></P>
@@ -84,4 +84,4 @@ The once_control or init_routine parameter is NULL.</P>
</P>
</UL>
</BODY>
-</HTML>
+</HTML> \ No newline at end of file