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

Regards,

Richard....

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

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