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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top