Boolify should_yield()
Do this ahead of adding a man page that describes the function. No functional change. Reviewed by: kib, markj MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38181
This commit is contained in:
parent
a7a452fedc
commit
d570418bd8
@ -658,7 +658,7 @@ synch_setup(void *dummy __unused)
|
||||
loadav(NULL);
|
||||
}
|
||||
|
||||
int
|
||||
bool
|
||||
should_yield(void)
|
||||
{
|
||||
|
||||
|
@ -1217,7 +1217,7 @@ void sess_hold(struct session *);
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user