Re: fork emulation / kill

2010-08-24 Thread Alexandr Ciornii
Hello, David 2010/8/24 David Golden : > On Tue, Aug 24, 2010 at 11:41 AM, Alexandr Ciornii > wrote: >> Is it possible to kill a thread that was created by fork()? signal to >> pid of thread results in termination of whole program >> >> kill( 2, $pid ); #$pid - pid of forked thread >> Whole progr

Re: fork emulation / kill

2010-08-24 Thread David Golden
On Tue, Aug 24, 2010 at 11:41 AM, Alexandr Ciornii wrote: > Is it possible to kill a thread that was created by fork()? signal to > pid of thread results in termination of whole program > > kill( 2, $pid ); #$pid - pid of forked thread > Whole program dies with: > Terminating on signal SIGINT(2)

fork emulation / kill

2010-08-24 Thread Alexandr Ciornii
Is it possible to kill a thread that was created by fork()? signal to pid of thread results in termination of whole program kill( 2, $pid ); #$pid - pid of forked thread Whole program dies with: Terminating on signal SIGINT(2) -- Alexandr Ciornii, http://chorny.net