Formal Review of std.process

Lars T. Kyllingstad public at kyllingen.net
Thu Apr 4 11:06:04 PDT 2013


On Thursday, 4 April 2013 at 16:57:58 UTC, Andrej Mitrovic wrote:
> On 4/4/13, Jesse Phillips <Jesse.K.Phillips+D at gmail.com> wrote:
>> Docs:
>> http://www.kyllingen.net/code/std-process2/phobos-prerelease/std_process.html
>
> <quote>
> Win32-specific warning: The mechanisms for process termination 
> are
> incredibly badly specified in Win32. This function may therefore
> produce unexpected results, and should be used with the utmost 
> care.
> </quote>
>
> It then links to a note about XP. So does this only apply to XP 
> or all
> Windows systems? "win32" isn't very specific, does it not apply 
> for
> 64bit systems?

Did you read the article? In the second paragraph it says:

"Many of the details of how processes exit are left unspecified 
in Win32, so different Win32 implementations can follow different 
mechanisms. For example, Win32s, Windows 95, and Windows NT all 
shut down processes differently."

BTW, this is written by one of Microsoft's Windows developers, so 
I'm assuming it to be authoritative.

I don't know whether it applies to Win64, though.  I've tried to 
investigate, but I couldn't find anything.  I agree the docs 
should probably be changed to "Windows APIs" rather than "Win32".

Lars


More information about the Digitalmars-d mailing list