Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/sched.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
* Threads are switched in and out, block on resources, have temporary | * Threads are switched in and out, block on resources, have temporary | ||||
* priorities inherited from their procs, and use up cpu time. | * priorities inherited from their procs, and use up cpu time. | ||||
*/ | */ | ||||
void sched_exit_thread(struct thread *td, struct thread *child); | void sched_exit_thread(struct thread *td, struct thread *child); | ||||
u_int sched_estcpu(struct thread *td); | u_int sched_estcpu(struct thread *td); | ||||
void sched_fork_thread(struct thread *td, struct thread *child); | void sched_fork_thread(struct thread *td, struct thread *child); | ||||
void sched_lend_prio(struct thread *td, u_char prio); | void sched_lend_prio(struct thread *td, u_char prio); | ||||
void sched_lend_user_prio(struct thread *td, u_char pri); | void sched_lend_user_prio(struct thread *td, u_char pri); | ||||
void sched_lend_user_prio_cond(struct thread *td, u_char pri); | |||||
fixpt_t sched_pctcpu(struct thread *td); | fixpt_t sched_pctcpu(struct thread *td); | ||||
void sched_prio(struct thread *td, u_char prio); | void sched_prio(struct thread *td, u_char prio); | ||||
void sched_sleep(struct thread *td, int prio); | void sched_sleep(struct thread *td, int prio); | ||||
void sched_switch(struct thread *td, struct thread *newtd, int flags); | void sched_switch(struct thread *td, struct thread *newtd, int flags); | ||||
void sched_throw(struct thread *td); | void sched_throw(struct thread *td); | ||||
void sched_unlend_prio(struct thread *td, u_char prio); | void sched_unlend_prio(struct thread *td, u_char prio); | ||||
void sched_user_prio(struct thread *td, u_char prio); | void sched_user_prio(struct thread *td, u_char prio); | ||||
void sched_userret_slowpath(struct thread *td); | void sched_userret_slowpath(struct thread *td); | ||||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |