diff options
author | Christopher Faylor <me@cgf.cx> | 2009-08-05 04:44:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-08-05 04:44:27 +0000 |
commit | a99345591f51350eee9f52fab5163412edef1804 (patch) | |
tree | d66784de8d41dca15517d79f14cc78b0593fa7e1 /winsup/cygwin/cygheap.h | |
parent | 7f01964f06effba5278ce060ebf55b7e080c59a8 (diff) | |
download | newlib-a99345591f51350eee9f52fab5163412edef1804.zip newlib-a99345591f51350eee9f52fab5163412edef1804.tar.gz newlib-a99345591f51350eee9f52fab5163412edef1804.tar.bz2 |
* cygheap.h (cygheap_debug::endh): Delete.
* debug.cc (lock_debug::acquired): Delete.
(lock_debug::lock_debug): Simplify.
(lock_debug::unlock): Ditto.
(find_handle): Don't set endh here.
(add_handle): Add new handle to beginning of the list rather than trying to
maintain an end list pointer.
(delete_handle): Minor optimization.
(mark_closed): Make logic clearer.
(verify_handle): Lock handle list before scanning.
(setclexec): Ditto.
(modify_handle): Ditto.
(newh): Don't lock handle list here. Assume caller did this.
(mark_closed): Ditto.
(close_handle): Remove unneeded #if.
* dtable.cc (dtable::dup2): Tweak debug output.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 6e01967..9bba99a 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -230,7 +230,6 @@ public: struct cygheap_debug { handle_list starth; - handle_list *endh; handle_list freeh[500]; }; #endif |