in reply to Re: Re: Create a separate process with a sub...
in thread Create a separate process with a sub...
Contrary to poular myth, fork does work under win32 since at least 5.6. Under the covers it is implemented in exactly the same as threads are. IMO, the threads interface is easier to use than fork, but then I've never really made any great use of fork in C, so I'm coming from a different background.
It also has the added bonus of making it reasonably easy to share data between parent and child.
|
|---|