(pthread_once): IN_PROGRESS state of pthread_once_t
authordrepper <drepper>
Sun, 7 May 2000 23:57:20 +0000 (23:57 +0000)
committerdrepper <drepper>
Sun, 7 May 2000 23:57:20 +0000 (23:57 +0000)
commitdb16aa0058f51c13e0ee736d6c76ff6660a2d3d0
treead6eebb21d3c8aed461a9a13dbbde39c2e34ea2b
parent8b54d7e5dd70a8dc04be78ecc95123aeb5a74158
(pthread_once): IN_PROGRESS state of pthread_once_t
object state is represented with additional bits which distinguish
whether that state was set up in the current process, or
in an ancestor process. If that state was set in an ancestor,
it means that a fork happened while thread was executing the init
function. In that case, the state is reset to NEVER.

(__pthread_once_fork_prepare): New function.
(__pthread_once_fork_child): Likewise
(__pthread_once_fork_parent): Likewise
(__pthread_reset_pthread_once): Removed.
linuxthreads/mutex.c