This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Process does not respond to signals on read() of win32 handle.
- From: <sanjayl at mindspring dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 06 Nov 2002 13:50:44 -0500
- Subject: Process does not respond to signals on read() of win32 handle.
- Reply-to: sanjayl at mindspring dot com
I have a program that opens a Win2k driver using CreateFile and then
associates it with a file desciprtor using cygwin_attach_handle_to_fd().
I then do a read() on the descriptor. At this point the program stops
responding to CTRL-Cs etc. until something is written to the device and
the read() returns. Only then is the signal caught and the process exits.
I have tried the same program in a pure Win32 environment using CreateFile()
and ReadFile() calls, and things seem to
work as expected.
Any help would be greatly appreciated.
Thanks in advance,
Sanjay
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/