This is the mail archive of the cygwin 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]

1.5.11: resuming a suspended sleep results in undelivered signal 19


Greetings,

Pierre Humblet discovered this and since I had a trace of it, encouraged me to post it.

A suspended sleep call is resumed, but does not exit at the expiration time.

$ sleep 20
^Z
[1]+  Stopped                 sleep 20
$ fg
sleep 20

...forever...

In a separate shell, the sleep is straced after it is started but before the ^Z is performed.  (see also attached)

<snip>
  146 16802759 [sig] sleep 4236 interruptible: pc 0x77F8287E, h 0x77F80000, interruptible 0
   70 16802829 [sig] sleep 4236 setup_handler: couldn't interrupt.  trying again.
   83 16802912 [sig] sleep 4236 setup_handler: signal 19 not delivered
   69 16802981 [sig] sleep 4236 sigpacket::process: returning 0
<snip>

Curious.

Possible tie-in with this thread:
http://sources.redhat.com/ml/cygwin/2004-09/msg00818.html


Best Regards,

-bogdan

Attachment: sleep.txt
Description: Text document

Attachment: cygcheck.out
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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