public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: <sanjayl@mindspring.com>
To: cygwin@cygwin.com
Subject: Process does not respond to signals on read() of win32 handle.
Date: Wed, 06 Nov 2002 10:50:00 -0000	[thread overview]
Message-ID: <Springmail.0994.1036608644.0.87003600@webmail.atl.earthlink.net> (raw)

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/

             reply	other threads:[~2002-11-06 18:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 10:50 sanjayl [this message]
2002-11-06 11:29 Harig, Mark A.
2002-11-06 16:09 sanjayl
2002-11-06 18:16 ` Christopher Faylor
2002-11-06 16:30 Harig, Mark A.
2002-11-06 18:07 ` Christopher Faylor
2002-11-06 16:40 sanjayl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Springmail.0994.1036608644.0.87003600@webmail.atl.earthlink.net \
    --to=sanjayl@mindspring.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).