[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Windows CVS Latest + Patch - "version" Command Hangs

From: Conrad T. Pino
Subject: RE: Windows CVS Latest + Patch - "version" Command Hangs
Date: Sat, 24 Sep 2005 21:52:48 -0700

> From: Derek Price
> Is there some way to find out if a
> file descriptor is ready for read or write in Windows, other than select?

Yes but it won't be a portable and might not work with anything other than a
MS compiler and perhaps later version might be problems.  Unfortunately we've
already bitten this bullet.  Check out line 634 in "windows-NT/run.c" file:


MS VC6 C run time doesn't return OS file handles.  They are an index into
an internal "typedef struct { } ioinfo;" array.  MS VC6 does provide:
which will return the Win32 Native API HANDLE created with "CreatePipe" in
the "windows-NT/run.c my_pipe" function.

This is the most promising approach to me only works with pipes:

Are you looking for a solution to disk files too?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]