This is the mail archive of the glibc-cvs@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libc/linuxthreads mutex.c


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sourceware.cygnus.com	00/05/07 16:57:20

Modified files:
	linuxthreads   : mutex.c 

Log message:
	(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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]