Alexey Zakharov wrote on 25 April 2008 15:48:
> The program does the following:
> - The main thread creates a helper thread which reads stdin and prints
> the data read.
> - stdin is read via ReadFile() Win32 API function.
No, that's *not* stdin. Stdin is file descriptor zero, and you aren't
Hi,
I've attached simple cpp program which demonstrates the problem.
The program works fine from cmd.exe, but fails when started from cygwin.
The program does the following:
- The main thread creates a helper thread which reads stdin and prints
the data read.
- stdin is read via ReadFile() Win32
Hi,
I've attached simple cpp program which demonstrates the problem.
The program works fine from cmd.exe, but fails when started from cygwin.
The program does the following:
- The main thread creates a helper thread which reads stdin and prints
the data read.
- stdin is read via ReadFile() Win32
3 matches
Mail list logo