- stdin read problem

2008-04-25 Thread Alexey Zakharov
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

- stdin read problem

2008-04-25 Thread Alexey Zakharov
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