diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2002-07-02 05:40:51 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2002-07-02 05:40:51 +0000 |
| commit | 8b768fc82bb8da4ebb188e7db1353ee898ae285a (patch) | |
| tree | e8793177934c50d0da222adaa7705a88641e687d /sys/kern/kern_synch.c | |
| parent | d5cb7e14f64a5208236e1223e04c7ac01f16bac7 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_synch.c')
| -rw-r--r-- | sys/kern/kern_synch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index a2a44ff8e143..b49999b527ed 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -575,6 +575,7 @@ msleep(ident, mtx, priority, wmesg, timo) * the wrong msleep(). Yuck. */ td->td_flags |= TDF_TIMEOUT; + td->td_state = TDS_SLP; p->p_stats->p_ru.ru_nivcsw++; mi_switch(); } |
