apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko Čibej <br...@xbc.nu>
Subject Re: cvs commit: apr/threadproc/win32 proc.c
Date Wed, 03 Jul 2002 00:07:03 GMT
Branko Čibej wrote:

> William A. Rowe, Jr. wrote:
>
>> And you are now passing cloned parent-side handles again to the child
>> process which means the parent can't signal the file closed, because
>> closing the parent handle doesn't close the handle in the child process.
>
>
> I'm not sure I understand this. If you want to make the file handle 
> inheritable, you must create a duplicate.


Wups, correction! That's true only on Win95/98/Me, you have to use 
Duplicate Handle there. On WinNT/2K/XP, you can use SetHandleInformation 
instead.

Do we want to check the OS version there?

-- 
Brane Čibej   <brane@xbc.nu>   http://www.xbc.nu/brane/


Mime
View raw message