* 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:
@@ -1167,8 +1167,6 @@ exit_sig:
|
||||
signal_exit (si.si_signo); /* never returns */
|
||||
}
|
||||
|
||||
CRITICAL_SECTION NO_COPY exit_lock;
|
||||
|
||||
/* Cover function to `do_exit' to handle exiting even in presence of more
|
||||
exceptions. We used to call exit, but a SIGSEGV shouldn't cause atexit
|
||||
routines to run. */
|
||||
@@ -1229,7 +1227,6 @@ events_init ()
|
||||
windows_system_directory_length = end - windows_system_directory;
|
||||
debug_printf ("windows_system_directory '%s', windows_system_directory_length %d",
|
||||
windows_system_directory, windows_system_directory_length);
|
||||
InitializeCriticalSection (&exit_lock);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user