OSDN Git Service

* cygheap.h (class process_lock): New class.
authorcgf <cgf>
Mon, 3 Oct 2005 17:23:53 +0000 (17:23 +0000)
committercgf <cgf>
Mon, 3 Oct 2005 17:23:53 +0000 (17:23 +0000)
commit279b9021fe6c2457f6d8f147f65d14588b95e555
treee94ac4c08aadfdcb087039d5b5846acd8e8e8220
parent1193dd313be86c8f2032755af9072a4dacee7c54
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/dtable.h
winsup/cygwin/exceptions.cc
winsup/cygwin/pinfo.cc
winsup/cygwin/pinfo.h
winsup/cygwin/winsup.h