c - How to port POSIX system calls fork() and wait() to Visual Studio 2010 express? -
Is any possible for port or copy of UNIX / POSIX system call, i.e., kanka () and wait () , For Visual Studio 2010 Express Edition? I have tried to integrate the SUA with Visual Studio, however, it was set up due to inconsistency with my processor. :(
Any help would be appreciated.
How closely on this Depending on you want to copy the waiting and fork.
If the fork is used only to make another process and you are not worried about inheritance handles, semaphores, then CreateProcess Try it. From your parents.
One of the parameters for creative processing Waiting is equal to WaitForSingleObject's handle of the process (from process information) and the second parameter with the first parameter as INFINITE. / P>
Both of these function calls are on top of windows.h.
Comments
Post a Comment