Fork() on windows?

  • Thread starter Thread starter Susan Baker
  • Start date Start date
S

Susan Baker

Hi,

I'm converting some Unix code to Windows. I need to fork() in a section
in my code. Nearest Windows functionality is CreateProcess().

Any ideas or guidelines (gotchas) on best practices/how to procedd?

Thanks
 
Susan said:
I'm converting some Unix code to Windows. I need to fork() in a section
in my code. Nearest Windows functionality is CreateProcess().

Any ideas or guidelines (gotchas) on best practices/how to procedd?

Depending on what you actually need the nearest Windows functionality
may be even threads (_beginthreadex()) or fibers (CreateFiber()). Unix
processes aren't always translated into Windows processes. Can't help
you more without further details on relation between old and new unix
process.
 
Back
Top