| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Wed, 06 Nov 2002 13:50:44 -0500 |
| From: | <sanjayl AT mindspring DOT com> |
| To: | cygwin AT cygwin DOT com |
| Reply-To: | sanjayl AT mindspring DOT com |
| Subject: | Process does not respond to signals on read() of win32 handle. |
| Message-ID: | <Springmail.0994.1036608644.0.87003600@webmail.atl.earthlink.net> |
| X-Originating-IP: | 155.53.34.30 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |