* fork.cc (fork_child): Call the __pthread_atforkchild function.
(fork_parent): Call the __pthread_atforkparent function. * cygwin.din: Export pthread_atfork. * thread.h (callback): New class. (MTinterface): Use it. * thread.cc (__pthread_atforkprepare): New function. (__pthread_atforkparent): New function. (__pthread_atforkchild): New function. (__pthread_atfork): New function. * pthread.cc (pthread_atfork): New function.
This commit is contained in:
@ -1076,6 +1076,7 @@ cygwin_attach_handle_to_fd
|
||||
cygwin32_attach_handle_to_fd = cygwin_attach_handle_to_fd
|
||||
cygwin_internal
|
||||
cygwin32_internal = cygwin_internal
|
||||
pthread_atfork
|
||||
pthread_attr_destroy
|
||||
pthread_attr_getdetachstate
|
||||
pthread_attr_getinheritsched
|
||||
|
Reference in New Issue
Block a user