* 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.
This commit is contained in:
Christopher Faylor
2005-10-02 00:13:41 +00:00
parent f5cfdc0fa4
commit 0cb6fc5d30
7 changed files with 56 additions and 30 deletions

View File

@@ -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);
}