Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154708828
D27597.id80663.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
622 B
Referenced Files
None
Subscribers
None
D27597.id80663.diff
View Options
Index: sys/kern/subr_sleepqueue.c
===================================================================
--- sys/kern/subr_sleepqueue.c
+++ sys/kern/subr_sleepqueue.c
@@ -441,12 +441,10 @@
mtx_assert(&sc->sc_lock, MA_OWNED);
- ret = 0;
if ((td->td_pflags & TDP_WAKEUP) != 0) {
td->td_pflags &= ~TDP_WAKEUP;
- ret = EINTR;
thread_lock(td);
- return (0);
+ return (EINTR);
}
/*
@@ -462,7 +460,7 @@
p = td->td_proc;
CTR3(KTR_PROC, "sleepq catching signals: thread %p (pid %ld, %s)",
- (void *)td, (long)p->p_pid, td->td_name);
+ (void *)td, (long)p->p_pid, td->td_name);
PROC_LOCK(p);
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 7:03 AM (1 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32466082
Default Alt Text
D27597.id80663.diff (622 B)
Attached To
Mode
D27597: Fix TDP_WAKEUP/thr_wake(curtid) after r366428.
Attached
Detach File
Event Timeline
Log In to Comment