kernel - Fix process blocking forever if ^Z'd at the wrong time
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Sep 2013 04:46:55 +0000 (21:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Sep 2013 04:46:55 +0000 (21:46 -0700)
commitd4688a1e4e5d90b64a7d8b84d2a7441fc0ec0cd5
treec370e620900c63eecf39c73e09d5fce78c1d0c3c
parentaedaeb59cb4bc33397219a6b1bfd4780e4fa8e95
kernel - Fix process blocking forever if ^Z'd at the wrong time

* tsleep()s with timeouts were testing the wrong state field
  when determining whether a stopped thread should be woken up or not.

* Generally occured under certain circumstances when a ^Z'd process
  was then killed without first continuing it.
sys/kern/kern_synch.c