Re: fork on windows?

From: Christoph Bugel (cbugel_at_nonexisting.hamakor.org.il)
Date: Sun 23 May 2004 - 13:51:03 IDT


Muli Ben-Yehuda wrote:

> That's not entirely accurate. fork() is several things, including a
> POSIX API (specification) and a system call implementation. There's
> nothing that says you can't implement a fork() wrapper on windows that
> will conform to the fork API while being implemented using windows
> APIs internally.
>
> That is not to say I have any idea what cygwin/mingw actually do.

-----------------------
I just tested the following in cygwin:
it compiles, and printf hello twice :)
(even without includes)

int main(){

         fork();
         printf("hello\n");
         return 0;
}

=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il



This archive was generated by hypermail 2.1.7 : Sun 23 May 2004 - 14:00:54 IDT