Mail Archives: cygwin-developers/1998/02/02/11:38:48
In article <199802021727 DOT MAA11798 AT subrogation DOT cygnus DOT com>,
Ian Lance Taylor <gnu-win32-developers AT cygnus DOT com> wrote:
>Unfortunately, this does not handle the case of the master opening the
>pty, then a child opening the pty, and then closing the pty, and then
>another child opening the pty. This works on Unix, but I do not know
>how to make it work on Windows. I don't happen to know of any
>programs that rely on this behaviour, but there may be some.
I just took a look at the code again, and maybe I'm missing something,
but is there any reason why the handles could not be handed back to
the master when all of the slaves close the pty? The master would
then have an extra couple of handles that may or may not ever be used
again but if a child requests the pty it would be able to retrieve
the handles.
--
http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
- Raw text -