logo       

Re: Building CVS on Windows is broken...again: msg#00003

Subject: Re: Building CVS on Windows is broken...again
-----BEGIN PGP SIGNED MESSAGE-----
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
>threads).
>
>Example ReadFile (either mode) & ReadFileEx (asynchronous only):
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/readfile.asp
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/readfileex.asp
>
>The real challenge lies in the POSIX compatibility routines of the I/O
library
>which are in use.  We need to find the library data structure that
determines
>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.

Derek

- --
                *8^)

Email: derek@xxxxxxxxxxx

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

iD8DBQFAMZvILD1OTBfyMaQRAnarAKCEETtA4f1l8X+WkNzOphUBusFF9ACguKhj
NNu41Cyt4Z2/GnsHDaJYlEA=
=arcF
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe