Re: Thread implementations...

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Wed, 24 Jun 1998 10:58:16 +1000


David Wragg writes:

> - The "process exit" message remain, but it is probably possible to
> use a signal for this.

What's this one?

> Having the manager thread receive a child death signal each time a
> thread exits is, although necessary in some cases, an unnecessary
> overhead in others (since usually a thread will clean up after itself
> and then call _exit()). I haven't though of a nice way to avoid this
> (yet).

If a thread cleans itself up properly, then it can just call prctl(2)
again and set the signal to 0 (disabling the signal).

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu