lkml.org 
[lkml]   [2002]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectQuestion regarding clone
Date
Hi All

I have some questions regarding sys_clone. I want to create a thread of the
current running process from the kernel. Looking at the source code, it is
possible to do it by calling do_fork. I just was confused about the values I
need to set pt_regs *regs parameter. Does any body know a description of how
to set it?

My second question can I create new thread of a process is not currently
running. Looking at copy_process function it only copy the process which is
currently running "it copy the current pointer"?

Thanks

Mohamed
-
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:31    [W:0.026 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site