Lines Matching refs:thread
45 /* This is mostly equivalent to sched_setparam(thread, SCHED_RR, {
46 * .sched_priority = priority }). 'thread' needs to be a kernel thread
47 * id as returned by gettid(), not a pthread_t! If 'thread' is 0 the
48 * current thread is used. The returned value is a negative errno
50 int rtkit_make_realtime(DBusConnection *system_bus, pid_t thread, int priority);
52 /* This is mostly equivalent to setpriority(PRIO_PROCESS, thread,
53 * nice_level). 'thread' needs to be a kernel thread id as returned by
54 * gettid(), not a pthread_t! If 'thread' is 0 the current thread is
57 int rtkit_make_high_priority(DBusConnection *system_bus, pid_t thread, int nice_level);