#include "rres_config.h"
#include "kal_sched.h"
#include "qos_debug.h"
Go to the source code of this file.
Defines | |
#define | rres_init_sched_param(task) set_task_rr_prio(task, RRES_DISPATCH_PRIORITY) |
#define | rres_task_sched_default(task) set_task_rr_prio(task, -1) |
#define | SCHED_OTHER SCHED_NORMAL |
Functions | |
void | stop_ResTask (void *t) |
void | dispatch_ResTask (void *t) |
static void | stop_task (struct task_struct *t) |
Make a task not schedulable by the Linux scheduler. | |
static void | dispatch_task (struct task_struct *t) |
Allow the Linux scheduler to schedule this task. |
#define rres_init_sched_param | ( | task | ) | set_task_rr_prio(task, RRES_DISPATCH_PRIORITY) |
Definition at line 7 of file rres_dispatch_um.h.
#define rres_task_sched_default | ( | task | ) | set_task_rr_prio(task, -1) |
Definition at line 10 of file rres_dispatch_um.h.
#define SCHED_OTHER SCHED_NORMAL |
Definition at line 13 of file rres_dispatch_um.h.
void dispatch_ResTask | ( | void * | t | ) |
Referenced by dispatch_task().
static void dispatch_task | ( | struct task_struct * | t | ) | [inline, static] |
Allow the Linux scheduler to schedule this task.
Definition at line 26 of file rres_dispatch_um.h.
References current, dispatch_ResTask(), kal_task_get_id(), and qos_log_debug.
void stop_ResTask | ( | void * | t | ) |
Referenced by stop_task().
static void stop_task | ( | struct task_struct * | t | ) | [inline, static] |
Make a task not schedulable by the Linux scheduler.
Definition at line 19 of file rres_dispatch_um.h.
References current, idle, kal_task_get_id(), qos_log_debug, and stop_ResTask().