lkml.org 
[lkml]   [2001]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: whether the thread is implemented in the kernel ?
On Thu, 28 Dec 2000 isp01ljl@taurus.zsu.edu.cn wrote:

> I encountered a interesting problem , that is whether the thread
> is implemented in the kernel ? if yes , then what is the system
> call to generate a thread ? is it similar to fork() ?

clone(2), which is the exact same code path as fork().

For more information, see
man 2 clone
kernel/fork.c::do_fork()

regards,

Rik
--
Shortwave goes a long way: irc.starchat.net #swl

http://www.surriel.com/ http://distro.conectiva.com/

-
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-03-22 13:14    [W:0.072 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site