mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Remove sleep queue hack, it is no longer needed with current sleep queue.
Actually, it causes process to hang when it is being debugged. PR: gnu/77818
This commit is contained in:
parent
466aa63579
commit
39c4e4c202
1 changed files with 0 additions and 8 deletions
|
|
@ -929,14 +929,6 @@ thread_suspend_one(struct thread *td)
|
|||
p->p_suspcount++;
|
||||
TD_SET_SUSPENDED(td);
|
||||
TAILQ_INSERT_TAIL(&p->p_suspended, td, td_runq);
|
||||
/*
|
||||
* Hack: If we are suspending but are on the sleep queue
|
||||
* then we are in msleep or the cv equivalent. We
|
||||
* want to look like we have two Inhibitors.
|
||||
* May already be set.. doesn't matter.
|
||||
*/
|
||||
if (TD_ON_SLEEPQ(td))
|
||||
TD_SET_SLEEPING(td);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue