From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6635 invoked by alias); 6 Nov 2002 18:50:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6628 invoked from network); 6 Nov 2002 18:50:50 -0000 Received: from unknown (HELO hitchcock.mail.mindspring.net) (207.69.200.23) by sources.redhat.com with SMTP; 6 Nov 2002 18:50:50 -0000 Received: from smui03.slb.mindspring.net ([199.174.114.22]) by hitchcock.mail.mindspring.net with esmtp (Exim 3.33 #1) id 189VGG-00060j-00 for cygwin@cygwin.com; Wed, 06 Nov 2002 13:50:44 -0500 Received: by smui03.slb.mindspring.net id NAA0000026178; Wed, 6 Nov 2002 13:50:44 -0500 (EST) Date: Wed, 06 Nov 2002 10:50:00 -0000 From: To: cygwin@cygwin.com Reply-To: sanjayl@mindspring.com Subject: Process does not respond to signals on read() of win32 handle. Message-ID: X-Originating-IP: 155.53.34.30 X-SW-Source: 2002-11/txt/msg00236.txt.bz2 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/