| 127 | } |
| 128 | |
| 129 | int |
| 130 | ksched_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 | |
| 141 | int |
| 142 | ksched_getparam(struct ksched *ksched, struct thread *td, |
no test coverage detected