Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Process does not respond to signals on read() of win32 handle. Date: Wed, 6 Nov 2002 14:29:24 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark A." To: , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gA6JTZC21229 As requested at http://cygwin.com/bugs.html: o Please describe how to reproduce the problem, including a test case, if possible. o Please include at least the version number of the Cygwin release you are using along with the operating system name and its version number, for example, "cygwin v1.3.13 under NT 4.0". o Most of the information about your Cygwin environment is listed by running 'cygcheck -s -v -r > cygcheck.txt'. Please include cygcheck.txt *AS AN ATTACHMENT* to your report. It is important that you include it as an attachment so that searches of the mailing-list archives give fewer false matches. Source code of a small program that reproduces your problem, along with the commands you used to compile, link, and run the program would likely increase the chances that someone can and will help with this problem. > -----Original Message----- > From: sanjayl AT mindspring DOT com [mailto:sanjayl AT mindspring DOT com] > Sent: Wednesday, November 06, 2002 1:51 PM > To: cygwin AT cygwin DOT com > Subject: Process does not respond to signals on read() of > win32 handle. > > > 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/ > > -- 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/