lkml.org 
[lkml]   [2005]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.13 kernel_thread() question
On 10/5/05, Redes II <redes2k@gmail.com> wrote:
> Hello,
> Does kernel_thread detach the new Kernel thread from its parent?

AFAIR kernel_thread won't detach thread from its parent, for this you
have to explicitely call reparent_to_init

> Does something like pthread_detach(tid) exist in Kernel module's programming?

I think no, as there isn't any seperate memory for the kernel threads,
so no need for memory resources consumed by tid will be freed
immediately when tid terminates .... (CMIIW)



--
Fawad Lateef
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-07 02:35    [W:0.037 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site