FreeBSD Bugzilla – Attachment 251431 Details for
Bug 279708
comment for sleepq_switch describes the thread lock wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
correct comment of sleepq_switch about thread lock
0001-in-comment-for-sleepq_switch-thread-lock-is-required.patch (text/plain), 828 bytes, created by
thejonny
on 2024-06-13 11:57:02 UTC
(
hide
)
Description:
correct comment of sleepq_switch about thread lock
Filename:
MIME Type:
Creator:
thejonny
Created:
2024-06-13 11:57:02 UTC
Size:
828 bytes
patch
obsolete
>From e0864dc22c3422cbe4a5044db32224f0cae6a46b Mon Sep 17 00:00:00 2001 >From: Jonathan Krebs <jonny@git2024.olpp.net> >Date: Thu, 13 Jun 2024 13:50:48 +0200 >Subject: [PATCH] in comment for sleepq_switch: thread lock is required and > released. > >--- > sys/kern/subr_sleepqueue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c >index 20ca455480b5..953965fdea36 100644 >--- a/sys/kern/subr_sleepqueue.c >+++ b/sys/kern/subr_sleepqueue.c >@@ -540,7 +540,7 @@ 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) >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279708
: 251431