From 15f1b0bc1f4feeca60ca1dda769928822d6c032a Mon Sep 17 00:00:00 2001
From: rpj
While pthread_once is not a cancellation point, -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.
-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.
+init_routine can be. The effect on once_control of a +cancellation inside the init_routine is to leave it as if +pthread_once had not been called by the cancelled thread.pthread_once returns 0 on success, or an error code on failure.
-- cgit v1.2.3