* cygheap.h (class process_lock): New class.
* dtable.h (class dtable): Add class process_lock as a friend. * dcrt0.cc (get_exit_lock): Delete. (do_exit): Use process_lock class instead of get_exit_lock. * exceptions.cc (signal_exit): Ditto. * pinfo.cc (pinfo::exit): Ditto. (_pinfo::commune_process): Set process lock around this whole function. (_pinfo::commune_request): Use process_lock rather than myself.lock. * pinfo.h (pinfo::_lock): Delete. (pinfo::initialize_lock): Delete. (pinfo::lock): Delete. (pinfo::unlock): Delete. * winsup.h (get_exit_lock): Delete declaration.
This commit is contained in:
@@ -203,7 +203,6 @@ enum exit_states
|
||||
|
||||
extern exit_states exit_state;
|
||||
void __stdcall do_exit (int) __attribute__ ((regparm (1), noreturn));
|
||||
void __stdcall get_exit_lock ();
|
||||
|
||||
/* UID/GID */
|
||||
void uinfo_init ();
|
||||
|
Reference in New Issue
Block a user