This same change is needed for _cthread_exit_routine. Or not. As far as I can tell, _cthread_exit_routine is not currently called when the main thread exits as libc/sysdeps/mach/start.c would seem to suggest: we use libc/sysdeps/generic/libc-start.c (which is called by libc/sysdeps/i386/elf/start.S) to call main. This isn't a problem for libpthread as libpthread doesn't use this call back. libcthreads, on the other hand, does to wait until all other threads have exited.
I don't know how you want to handle this (if at all). Thanks, Neal _______________________________________________ Bug-hurd mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-hurd
