To my knowledge, fork() is emulated on Win32 systems using threads, thanks to the good work of Gurusamy Sarathy.
Liz | [reply] |
| [reply] |
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.
Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.
| [reply] |