Re: fork system call

2008-12-29 Thread Bernd Petrovitsch
are copy-on-write-references to the ones of the parent are - and it starts the first "thread" in that process. CreateProcess() does basically the same (IMMSC - it's > 10 years that I programmed WinNT-3.5). > Fork system call is equivalent to clone(SIGCHLD,0, so I think fork >

Re: fork system call

2008-12-29 Thread SK malik
xcept they share > some resource with other process). If I use fork to create process, does > it create thread that run in the same thread group as parent run or does it > create another standalone process? > > Fork system call is equivalent to clone(SIGCHLD,0, so I think fork creat

Re: Re: fork system call

2008-12-28 Thread wangyuict
run or does it > create another standalone process? > > Fork system call is equivalent to clone(SIGCHLD,0, so I think fork create > new standalone process. > > Please clarify. > > ~Shyam Hi Shyam, Actually, all is about tasks. For the kernel, process

Re: fork system call

2008-12-28 Thread Frederic Weisbecker
for thread essentially they are normal process except they share > some resource with other process). If I use fork to create process, does > it create thread that run in the same thread group as parent run or does it > create another standalone process? > > Fork system call

fork system call

2008-12-28 Thread Shyam Burkule
ocess). If I use fork to create process, does it create thread that run in the same thread group as parent run or does it create another standalone process? Fork system call is equivalent to clone(SIGCHLD,0, so I think fork create new standalone process. Please clarify. ~Shyam