[Top][All Lists]

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

Re: Building CVS on Windows is broken...again

From: Derek Robert Price
Subject: Re: Building CVS on Windows is broken...again
Date: Mon, 16 Feb 2004 23:42:49 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Hash: SHA1

Conrad T. Pino wrote:

>Native Win32 handles don't have a blocking (synchronous) or (non-blocking)
>asynchronous attribute/property/flag i.e. this mode is NOT chosen at file
>open/create time.  The choice is made when invoking the I/O operation by
>using either synchronous or asynchronous forms of the I/O operation.  The
>same file handle will support concurrent asynchronous and synchronous I/O
>operations (provided they're invoked in the correct order or by different
>Example ReadFile (either mode) & ReadFileEx (asynchronous only):
>The real challenge lies in the POSIX compatibility routines of the I/O
>which are in use.  We need to find the library data structure that
>which Win32 API call will be invoked for the next CVS I/O function call.

Well, if we could do it with POSIX functions under Windows, that would
be great for portability, but failing that, we can call anything we need
to - many of the file access functions already have Windows specific
versions in windows-NT/filesubr.c.  Perhaps a function in filesubr.c
that calls ReadFileEx?  I'll look into it after Larry and I finish our
discussion about whether this check is even any longer appropriate.

>Can you provide a list of functions of interest for asynchronous I/O?

I don't really care which function, as long as it will read one byte of
data asynchronously from a file descriptor.

>I only have Visual C++ 6.0 and various Borland C/C++ compilers.
>How much flexibility do we have deviating away from Visual C++ 5?

Well, fact of the matter is, I only have VC++ 6.0 too, so unless someone
who has VC++ 5.0 wants to help out, we'll have to drop support for VC++ 5.0.


- --

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org


reply via email to

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