Posted: Mon Jan 10, 2005 5:40 pm
I understand why it works, I just was having fun with it 
err, if you're going to use it in a serious project you'll prolly need it to return the PID of the new thread to the old thread (like the real fork() does)
It will of course require you to call it differently ("If fork()=0")... but will provide more functionality.... I'll get to fixing it...
Update: I've come up with a number of solutions but none of them like the debugger very much :/....

err, if you're going to use it in a serious project you'll prolly need it to return the PID of the new thread to the old thread (like the real fork() does)
It will of course require you to call it differently ("If fork()=0")... but will provide more functionality.... I'll get to fixing it...
Update: I've come up with a number of solutions but none of them like the debugger very much :/....