[GRASS5] mkfifo start for cygwin

Markus, (Cc to grass)

I went through some of the older Cygwin messages and
found an email note from someone was thinking of using
Cygwin on his NT box for development. He states that
there was no reply from anyone and he has subsequently
moved to Linux. Included below is his reply to me with
a URL to his source code. I sent this earlier to Mike and
Andreas but realized (with Malcom's email) that we all
would be interested in this information.

I downloaded the code from http://herzberg.ca.sandia.gov/namedpipes
and it compiled cleanly. There is a mkfifo.cc file used by two
standalone executables.

John Huddleston

----- Original Message -----
From: "friedman_hill ernest j" <ejfried@california.sandia.gov>
To: "John Huddleston" <jhudd@lamar.colostate.edu>
Sent: Thursday, December 14, 2000 6:22 AM
Subject: Re: named pipes

Nope, haven't touched it in ages. After finally getting permission
from Sandia to contribute to Cygwin, I sent cgf a message asking for
advice, and never received a reply. In the intervening time I ditched
my Win32 box and moved entirely to Linux.

My first baby steps towards an implementation are available at
http://herzberg.ca.sandia.gov/namedpipes. winsup* just duplicate some
of the cygwin kernel in "user space" for development purposes. The
major unresolved question is how to keep track of how many readers and
writers a pipe has. I don't understand Cygwin internals well enough to
know if my code could be notified when a Cygwin process exits, or if
it would have to scan the process list on every read or write call
(which would almost certainly be too expensive.)

I think John Huddleston wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Ernest,
>
> Have you implemented a named pipe solution for cygwin?
> If so, would you mind sending me the source?
>
> Thank you,
>
> John Huddleston
> PhD Student
> Colorado State University
>

---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 ejfried@ca.sandia.gov
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'