summaryrefslogtreecommitdiff
path: root/sys/kern/kern_condvar.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_condvar.c')
-rw-r--r--sys/kern/kern_condvar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/kern_condvar.c b/sys/kern/kern_condvar.c
index 87e4184b84be..46085399f95d 100644
--- a/sys/kern/kern_condvar.c
+++ b/sys/kern/kern_condvar.c
@@ -133,17 +133,17 @@ cv_switch_catch(struct thread *td)
/*
* We put ourselves on the sleep queue and start our timeout before
- * calling CURSIG, as we could stop there, and a wakeup or a SIGCONT (or
+ * calling cursig, as we could stop there, and a wakeup or a SIGCONT (or
* both) could occur while we were stopped. A SIGCONT would cause us to
* be marked as SSLEEP without resuming us, thus we must be ready for
- * sleep when CURSIG is called. If the wakeup happens while we're
- * stopped, td->td_wchan will be 0 upon return from CURSIG.
+ * sleep when cursig is called. If the wakeup happens while we're
+ * stopped, td->td_wchan will be 0 upon return from cursig.
*/
td->td_flags |= TDF_SINTR;
mtx_unlock_spin(&sched_lock);
p = td->td_proc;
PROC_LOCK(p);
- sig = CURSIG(p); /* XXXKSE */
+ sig = cursig(p); /* XXXKSE */
mtx_lock_spin(&sched_lock);
PROC_UNLOCK(p);
if (sig != 0) {
@@ -286,7 +286,7 @@ cv_wait_sig(struct cv *cvp, struct mtx *mp)
PROC_LOCK(p);
if (sig == 0)
- sig = CURSIG(p); /* XXXKSE */
+ sig = cursig(p); /* XXXKSE */
if (sig != 0) {
if (SIGISMEMBER(p->p_sigacts->ps_sigintr, sig))
rval = EINTR;
@@ -443,7 +443,7 @@ cv_timedwait_sig(struct cv *cvp, struct mtx *mp, int timo)
PROC_LOCK(p);
if (sig == 0)
- sig = CURSIG(p);
+ sig = cursig(p);
if (sig != 0) {
if (SIGISMEMBER(p->p_sigacts->ps_sigintr, sig))
rval = EINTR;