[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fork() for microsoft windows (native but not Cygwin).
From: |
Tatsuro MATSUOKA |
Subject: |
Re: fork() for microsoft windows (native but not Cygwin). |
Date: |
Mon, 2 May 2016 10:52:38 +0900 (JST) |
----- Original Message -----
> From: Tatsuro MATSUOKA
> To: tmacchant "octave-maintainers
> Cc:
> Date: 2016/5/2, Mon 09:45
> Subject: Re: fork() for microsoft windows (native but not Cygwin).
>
> ----- Original Message -----
> >> From:
>> To: "octave-maintainers" <octave-maintainers>
>> Cc:
>> Date: 2016/5/2, Mon 07:09
>> Subject: Re: fork() for microsoft windows (native but not Cygwin).
>>
>>> Can octave fork() be implemented by spawnvp but not by fork on
> windows?
>>>
>> I don't see the octave manual and explanation of spawnvp. The spawnvp
> is
>> not able to use for the octave fork().
>>
>> We have to write it using windows api like popen2 on octave for windows.
>>
>> Tatsuro
>
>
>
> Perhaps this is the start to implement fork() on windows.
> https://www.cygwin.com/faq.html#faq.api.fork
>
>
> One need to look the code how the Cygwin actually implement the fork().
>
The below is a code fo Cygwin's fork.cc
https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/fork.cc;h=ce54e39e30e042f247100be6e4290727bc9766c1;hb=HEAD