mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
sleepqueue: Fix the comment for sleepq_switch()
The comment from mi_switch() applies here.
PR: 279708
Fixes: 686bcb5c14 ("schedlock 4/4")
MFC after: 1 week
(cherry picked from commit 1030ee9128373e7819e5d4a45475ad8cda24fec9)
This commit is contained in:
parent
9623b69b1d
commit
b9f9be5d92
1 changed files with 2 additions and 1 deletions
|
|
@ -539,7 +539,8 @@ sleepq_catch_signals(const void *wchan, int pri)
|
|||
|
||||
/*
|
||||
* Switches to another thread if we are still asleep on a sleep queue.
|
||||
* Returns with thread lock.
|
||||
*
|
||||
* The thread lock is required on entry and is no longer held on return.
|
||||
*/
|
||||
static void
|
||||
sleepq_switch(const void *wchan, int pri)
|
||||
|
|
|
|||
Loading…
Reference in a new issue