This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: pipe replacement w/o TerminateThread
On Tue, Apr 15, 2003 at 11:24:37AM -0400, Christopher Faylor wrote:
>On Tue, Apr 15, 2003 at 10:20:00AM -0500, Steve O wrote:
>>On Tue, Apr 15, 2003 at 10:03:38AM -0400, Joe Buehler wrote:
>>> 1. Toss CreatePipe() and implement pipes with shared memory and semaphores.
>>
>>A class that implemented 1) might also be useful for 'simplifying'
>>tty code. Perhaps the fork magic could be encapsulated in the class,
>>making its use fairly straight forward.
>
>Again, windows processes wouldn't work for cygwin ptys since there would
>be no true windows handle attached to stdin/stdout/stderr.
For ttys one thing to investigate would be mailslots. I don't know if
they work any better than pipes or not but I've been meaning to play
with them for years.
cgf