Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/sched.h
| Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | |||||
| /* | /* | ||||
| * Threads are moved on and off of run queues | * Threads are moved on and off of run queues | ||||
| */ | */ | ||||
| void sched_add(struct thread *td, int flags); | void sched_add(struct thread *td, int flags); | ||||
| struct thread *sched_choose(void); | struct thread *sched_choose(void); | ||||
| void sched_clock(struct thread *td, int cnt); | void sched_clock(struct thread *td, int cnt); | ||||
| void sched_idletd(void *); | void sched_idletd(void *); | ||||
| void sched_preempt(struct thread *td); | void sched_preempt(struct thread *td); | ||||
| void sched_do_idle(struct thread *td, bool do_idle); | |||||
| void sched_relinquish(struct thread *td); | void sched_relinquish(struct thread *td); | ||||
| void sched_rem(struct thread *td); | void sched_rem(struct thread *td); | ||||
| void sched_wakeup(struct thread *td, int srqflags); | void sched_wakeup(struct thread *td, int srqflags); | ||||
| /* | /* | ||||
| * Binding makes cpu affinity permanent while pinning is used to temporarily | * Binding makes cpu affinity permanent while pinning is used to temporarily | ||||
| * hold a thread on a particular CPU. | * hold a thread on a particular CPU. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines | |||||