MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ksched_setparam

Function ksched_setparam

freebsd/kern/ksched.c:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129int
130ksched_setparam(struct ksched *ksched,
131 struct thread *td, const struct sched_param *param)
132{
133 int e, policy;
134
135 e = getscheduler(ksched, td, &policy);
136 if (e == 0)
137 e = ksched_setscheduler(ksched, td, policy, param);
138 return (e);
139}
140
141int
142ksched_getparam(struct ksched *ksched, struct thread *td,

Callers 1

kern_sched_setparamFunction · 0.85

Calls 2

getschedulerFunction · 0.85
ksched_setschedulerFunction · 0.85

Tested by

no test coverage detected