[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Win32 fork() for test suite (was: new test --no-wor
Re: [Monotone-devel] Win32 fork() for test suite (was: new test --no-workspace)
Sun, 26 Oct 2008 21:55:07 -0700
On Sun, Oct 26, 2008 at 8:12 PM, Matthew Nicholson <address@hidden> wrote:
> Zack Weinberg wrote:
>> On Sat, Oct 25, 2008 at 3:08 PM, Stephen Leake
>> p.s.: legendarily, there *is* an undocumented Win32 system call
>> equivalent to fork(); anyone who wants to find that and use it instead
>> of this rather rube-goldberg mechanism will probably be rewarded with
>> a faster test suite.
> A quick google search appears to point to NtCreateProcess as having similar
> functionality as the unix fork() function.
Useful to know, although it doesn't sound like it's as simple as
calling that function with the right arguments.
I certainly won't be the person to code it, bad enough I sometimes
write windows code to the *documented* APIs when I don't have any
windows installations to test on...