For example, 

the some thread maked by PT in parent process marked by PP invoked syscall 
fork(), cfork() is invoked in the kernel state which create child process 
marked by CP, CP's proc struct(as,p_exec,p_user,klwp_t/kthread pairs) is 
duplicated by PP's proc. Besides the kernel stack of  CP's kthread is equal to 
the kernel statck of PT,so CP's current thread is dispatched by cpu to execute 
the code after fork() in PT thread code.

Question:CP has no any user thread(ulwp_t), why not duplicate ulwp_t? 

Is PT's ulwp_t shared by PP and CP? if so, it is not conform 
ulwp_t:klwp_t:kthread_t=1:1:1?!

 
                                          
_________________________________________________________________
Drag n? drop?Get easy photo sharing with Windows Live? Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/on-discuss/attachments/20090928/32c04d9a/attachment.html>

Reply via email to