From 1908d93b42b01cea49c886e2260fd70ac05becf7 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 27 May 2005 15:02:01 +0000 Subject: '' --- manual/pthread_once.html | 12 ++++++------ 1 file 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 @@ PTHREAD_ONCE(3) manual page - + @@ -42,10 +42,10 @@ nothing. init_routine can be. The required effect on once_control of a cancellation inside the init_routine is to leave it as if pthread_once had not been called.

-

Pthreads-w32 handles init_routine cancellation by -making any threads, that may be waiting on once_control, -re-compete along with any newly arriving threads in the re-running of -init_routine.

+

If the init_routine is cancelled and there are threads +waiting on the once_control then Pthreads-w32 wakes one of +them so that it can re-compete along with any newly arriving threads +in the re-running of init_routine.

Return Value

pthread_once returns 0 on success, or an error code on failure.

@@ -84,4 +84,4 @@ The once_control or init_routine parameter is NULL.

- + \ No newline at end of file -- cgit v1.2.3