diff options
author | Christopher Faylor <me@cgf.cx> | 2005-10-02 00:13:41 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-10-02 00:13:41 +0000 |
commit | 0cb6fc5d3036aa449635383a36338ed63539a561 (patch) | |
tree | b5b481605dfb2016b6cdedfe96085ae47ee7ae6d /winsup/cygwin/sigproc.cc | |
parent | f5cfdc0fa440eb88870963cc9440369203bb0b13 (diff) | |
download | cygnal-0cb6fc5d3036aa449635383a36338ed63539a561.tar.gz cygnal-0cb6fc5d3036aa449635383a36338ed63539a561.tar.bz2 cygnal-0cb6fc5d3036aa449635383a36338ed63539a561.zip |
* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
* exceptions.cc (exit_lock): Delete.
(events_init): Don't init exit_lock.
* (_pinfo::commune_process): Add per-PICOM debugging.
* sigproc.cc (talktome): Add some temporary debugging statements.
* fhandler_proc.cc (format_proc_cpuinfo): Cosmetic change.
(format_proc_partitions): Ditto.
* syscalls.cc (locked_append): Ditto.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 0799a6ac5..27f38f0ae 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -970,7 +970,9 @@ stopped_or_terminated (waitq *parent_w, _pinfo *child) static void talktome (siginfo_t& si, HANDLE readsig) { + sigproc_printf ("pid %d wants some information", si.si_pid); pinfo pi (si.si_pid); + sigproc_printf ("pid %d pi %p", si.si_pid, (_pinfo *) pi); // DELETEME if (si._si_commune._si_code & PICOM_EXTRASTR) { size_t n; @@ -1173,6 +1175,7 @@ wait_sig (VOID *) break; } + CloseHandle (readsig); sigproc_printf ("signal thread exiting"); ExitThread (0); } |