Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147271369
D38181.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
577 B
Referenced Files
None
Subscribers
None
D38181.diff
View Options
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -658,7 +658,7 @@
loadav(NULL);
}
-int
+bool
should_yield(void)
{
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1217,7 +1217,7 @@
void sess_release(struct session *);
int setrunnable(struct thread *, int);
void setsugid(struct proc *p);
-int should_yield(void);
+bool should_yield(void);
int sigonstack(size_t sp);
void stopevent(struct proc *, u_int, u_int);
struct thread *tdfind(lwpid_t, pid_t);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 10, 2:33 PM (14 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29441233
Default Alt Text
D38181.diff (577 B)
Attached To
Mode
D38181: Boolify should_yield()
Attached
Detach File
Event Timeline
Log In to Comment