bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _cthread_init_routine and _cthread_exit_routine


From: Neal H. Walfield
Subject: Re: _cthread_init_routine and _cthread_exit_routine
Date: Wed, 04 May 2005 21:33:19 +0100
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]