* 2.6.13 kernel_thread() question
@ 2005-10-05 0:42 Redes II
2005-10-07 0:33 ` Fawad Lateef
0 siblings, 1 reply; 2+ messages in thread
From: Redes II @ 2005-10-05 0:42 UTC (permalink / raw)
To: linux-kernel
Hello,
Does kernel_thread detach the new Kernel thread from its parent?
Does something like pthread_detach(tid) exist in Kernel module's programming?
Thanks
Kernel: 2.6.13
Architecture:i32
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.13 kernel_thread() question
2005-10-05 0:42 2.6.13 kernel_thread() question Redes II
@ 2005-10-07 0:33 ` Fawad Lateef
0 siblings, 0 replies; 2+ messages in thread
From: Fawad Lateef @ 2005-10-07 0:33 UTC (permalink / raw)
To: Redes II; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-07 0:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05 0:42 2.6.13 kernel_thread() question Redes II
2005-10-07 0:33 ` Fawad Lateef
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.