Mail Archives: cygwin/1998/03/24/09:45:07
Jeffrey Altman wrote:
> In tty.c there are complaints about the inability to do overlapped-io
> on anonymous pipes. The solution is do not use pipes, use sockets.
> create a socketpair() function similar to that used on unix and then
> perform all of your pipe operations with sockets. the benefits of
> select() on your code are unimaginable.
The disadvantages of socketpair() method:
1. It require tcp/ip to be installed. B19 can run on computers without
tcp/ip installed.
2. B19 implements loading of wsock32.dll on demand to speed-up process
startup about 20%. With socketpair() every running process will load
wsock32.dll when tty support is enabled. The toolset will run _slower_ than
now with pipe polling.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -