diff options
| author | rpj <rpj> | 2005-05-27 15:02:15 +0000 | 
|---|---|---|
| committer | rpj <rpj> | 2005-05-27 15:02:15 +0000 | 
| commit | a6c137945de3435089e74ca4c7e1ee504a7ee23e (patch) | |
| tree | a6fcb79032184cb52f75d7530b335fd7e5f1864a | |
| parent | 907aa076dc93778c928e3da6ec7037de60ccd589 (diff) | |
''
| -rw-r--r-- | manual/pthread_once.html | 12 | 
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 | 
