rres_dispatch_sig.h File Reference

Module interfacing with the Linux scheduler for the purpose of forcing schedule and deschedule of processes belonging to the servers. More...

#include "rres_config.h"
#include <linux/sched.h>
#include <linux/aquosa/qos_debug.h>

Go to the source code of this file.

Defines

#define rres_init_sched_param(task)
#define rres_task_sched_default(task)
#define SCHED_OTHER   SCHED_NORMAL

Functions

int task_ready (struct task_struct *task)
 return true if task is ready to run (task's state = TASK_RUNNING in Linux)
void stop_task (struct task_struct *t)
 Make a task not schedulable by Linux scheduler.
void dispatch_task (struct task_struct *t)
 Force Linux to schedule this task (or one of the task of the same server).

Detailed Description

Module interfacing with the Linux scheduler for the purpose of forcing schedule and deschedule of processes belonging to the servers.

This implementation uses SIGSTOP/SIGCONT based stopping and restarting of tasks.

Definition in file rres_dispatch_sig.h.

Generated on Mon Aug 2 22:39:17 2010 for qosres by  doxygen 1.6.3