diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2000-03-15 13:59:27 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2000-03-15 13:59:27 +0000 |
| commit | 1d013a86edb866de00bf57761c845388c8d9a467 (patch) | |
| tree | 935feb03e56c674b055ccf5f23861c18e476211a /lib/libpthread/thread/thr_kern.c | |
| parent | 8d548e1f88b83ea07e628bc6ddb7144ee8379bcd (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
| -rw-r--r-- | lib/libpthread/thread/thr_kern.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index 3e0ff17435db..8b333e483596 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -184,8 +184,10 @@ __asm__("fnsave %0": :"m"(*fdata)); switch (_thread_run->state) { case PS_DEAD: case PS_STATE_MAX: /* to silence -Wall */ + case PS_SUSPENDED: /* - * Dead threads are not placed in any queue: + * Dead and suspended threads are not placed + * in any queue: */ break; @@ -227,7 +229,6 @@ __asm__("fnsave %0": :"m"(*fdata)); case PS_SIGSUSPEND: case PS_SIGTHREAD: case PS_SIGWAIT: - case PS_SUSPENDED: case PS_WAIT_WAIT: /* No timeouts for these states: */ _thread_run->wakeup_time.tv_sec = -1; |
