Changeset View
Changeset View
Standalone View
Standalone View
head/sys/kern/subr_gtaskqueue.c
Show First 20 Lines • Show All 486 Lines • ▼ Show 20 Lines | if (mask) { | ||||
"error=%d\n", | "error=%d\n", | ||||
__func__, | __func__, | ||||
(unsigned long long) td->td_tid, | (unsigned long long) td->td_tid, | ||||
error); | error); | ||||
} | } | ||||
thread_lock(td); | thread_lock(td); | ||||
sched_prio(td, pri); | sched_prio(td, pri); | ||||
sched_add(td, SRQ_BORING); | sched_add(td, SRQ_BORING); | ||||
thread_unlock(td); | |||||
} | } | ||||
return (0); | return (0); | ||||
} | } | ||||
static int | static int | ||||
gtaskqueue_start_threads(struct gtaskqueue **tqp, int count, int pri, | gtaskqueue_start_threads(struct gtaskqueue **tqp, int count, int pri, | ||||
const char *name, ...) | const char *name, ...) | ||||
▲ Show 20 Lines • Show All 536 Lines • Show Last 20 Lines |