* DevNotes: Add entry cgf-000018.
* init.cc (dll_entry): Grab process lock before exiting to ensure that thread doesn't exit before parent if parent is exiting. * _cygtls.cc (_cygtls::call2): Revert previous 2012-12-21 change. * miscfuncs.cc (thread_wrapper): Ditto. * thread.cc (pthread::exit): Ditto. * sigproc.cc (exit_thread): Ditto. (wait_sig): Ditto. * sync.cc (muto::release): Ditto. * sync.h (muto::release): Ditto. * sigproc.h (__SIGTHREADEXIT): Delete enum. (exit_thread): Delete declaration.
This commit is contained in:
@@ -25,8 +25,7 @@ enum
|
||||
__SIGHOLD = -(NSIG + 7),
|
||||
__SIGNOHOLD = -(NSIG + 8),
|
||||
__SIGEXIT = -(NSIG + 9),
|
||||
__SIGSETPGRP = -(NSIG + 10),
|
||||
__SIGTHREADEXIT = -(NSIG + 11)
|
||||
__SIGSETPGRP = -(NSIG + 10)
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -88,7 +87,6 @@ void __stdcall sigalloc ();
|
||||
|
||||
int kill_pgrp (pid_t, siginfo_t&);
|
||||
int killsys (pid_t, int);
|
||||
void exit_thread (DWORD) __attribute__ ((regparm(1), noreturn));
|
||||
|
||||
extern "C" void sigdelayed ();
|
||||
|
||||
|
Reference in New Issue
Block a user