This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Process does not respond to signals on read() of win32 handle.

As requested at

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: []
> Sent: Wednesday, November 06, 2002 1:51 PM
> To:
> 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:
> Bug reporting:
> Documentation:
> FAQ:         

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]