diff options
author | Christopher Faylor <me@cgf.cx> | 2000-03-15 04:49:36 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-03-15 04:49:36 +0000 |
commit | 332600d80cdfcf46ce36c9f5c77b452d8636fa7f (patch) | |
tree | 31ba7287033df0ea28d03a345d08840662a1b798 /winsup/cygwin/debug.cc | |
parent | 31b3dbe174d47b96ee7a8b08c7e67b50505eb79e (diff) | |
download | cygnal-332600d80cdfcf46ce36c9f5c77b452d8636fa7f.tar.gz cygnal-332600d80cdfcf46ce36c9f5c77b452d8636fa7f.tar.bz2 cygnal-332600d80cdfcf46ce36c9f5c77b452d8636fa7f.zip |
Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com>
* debug.cc (threadname_init): Pass name of lock as arg 2 of new_muto.
* malloc.cc (malloc_init): Ditto.
* sigproc.cc (sigproc_init): Ditto.
* exceptions.cc (events_init): Ditto.
(call_handler): Eliminate special case for hExeced. Report locked thread in
debugging output.
* fhandler.cc (fhandker_pipe::fhandler_pipe): Propagate device type to base
class.
* fhandler.h (fhandler_pipe): Ditto.
* hinfo.cc (hinfo::build_fhandler): Pass specific type of pipe to constructor.
* spawn.cc (spawn_guts): Eliminate dependency on signal when waiting for
subprocess.
* strace.cc: Remove obsolete #ifdef.
* sync.cc (muto::muto): Save the name of the muto.
(muto:~muto): Also release the muto.
* sync.h: Add a muto name field.
* select.cc (peek_pipe): Avoid doing a PeekNamedPipe on the write end of a
pipe.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index e7ddec8af..99fe1152e 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -30,7 +30,7 @@ static NO_COPY thread_info threads[32] = {{0, NULL}}; // increase as necessary void threadname_init () { - threadname_lock = new_muto (FALSE, NULL); + threadname_lock = new_muto (FALSE, "threadname_lock"); } void __stdcall @@ -202,7 +202,7 @@ static muto NO_COPY *debug_lock = NULL; void debug_init () { - debug_lock = new_muto (FALSE, NULL); + debug_lock = new_muto (FALSE, "debug_lock"); } /* Find a registered handle in the linked list of handles. */ |