diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-02-23 03:42:17 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-02-23 03:42:17 +0000 |
commit | 18512cf2d80fe44e56a75f0fb04562e969a38a6f (patch) | |
tree | ad31efb0374778d166d8958c22e0b6c59a531a73 /sys/kern/subr_sleepqueue.c | |
parent | e29c8e080b595587aafe2e1d02c5eb9f9f322a51 (diff) | |
download | FreeBSD-src-18512cf2d80fe44e56a75f0fb04562e969a38a6f.zip FreeBSD-src-18512cf2d80fe44e56a75f0fb04562e969a38a6f.tar.gz |
Move comments to more accurate place.
Diffstat (limited to 'sys/kern/subr_sleepqueue.c')
-rw-r--r-- | sys/kern/subr_sleepqueue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index c269806..47d9a36 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -403,12 +403,12 @@ sleepq_catch_signals(void *wchan) MPASS(ret == EINTR || ret == ERESTART); } else { PROC_UNLOCK(p); - /* - * If there were pending signals and this thread is still - * on the sleep queue, remove it from the sleep queue. - */ mtx_lock_spin(&sc->sc_lock); } + /* + * There were pending signals and this thread is still + * on the sleep queue, remove it from the sleep queue. + */ sq = sleepq_lookup(wchan); mtx_lock_spin(&sched_lock); if (TD_ON_SLEEPQ(td)) |