sched.c File Reference

#include <stdio.h>
#include <os_config.h>
#include <sys/ksched.h>
#include <sys/entry.h>
#include <config/config_param.h>
#include <config/config_cparam.h>
#include <sys/process.h>
#include <sys/decls.h>

Functions

void sched_rr (void)
void sched_prio (void)
void suspend (void)

Detailed Description

This file contains routines for process scheduling

Function Documentation

void sched_prio void   ) 
 

Pre-emptive strict priority scheduler

Returns:
  • Nothing
Note:
  • None

void sched_rr void   ) 
 

Round Robin Scheduler.

Returns:
  • Nothing
Note:
  • None

void suspend void   ) 
 

Suspend a process inside the kernel. A rescheduling followed by the corresponding context switch occurs within this routine.

Returns:
  • Nothing
Note:
  • This routine is not expected to be invoked from within an ISR. i.e no suspension allowed in an ISR.


Generated on Thu Feb 13 14:46:24 2014 for 2014.1_doc by  doxygen 1.4.5