[lkml]   [1998]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Thread implementations...
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).



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:43    [W:0.048 / U:3.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site