sched.c File Reference

Go to the source code of this file.

Functions

 DEFINE_RWLOCK (tasklist_lock)
asmlinkage void preempt_schedule (void)
asmlinkage void schedule (void)
void __sched yield (void)
 yield the current processor to other threads.
int try_to_wake_up (struct task_struct *p, unsigned int state, int sync)
static void process_timeout (unsigned long data)
signed long __sched schedule_timeout (signed long timeout)
signed long __sched schedule_timeout_interruptible (signed long timeout)
signed long __sched schedule_timeout_uninterruptible (signed long timeout)
int set_cpus_allowed_ptr (struct task_struct *p, const struct cpumask *new_mask)
 Tasks may be forced to run only on a certain no.
void set_user_nice (struct task_struct *p, long nice)
void __sched io_schedule (void)
long __sched io_schedule_timeout (long timeout)
int sched_setscheduler_nocheck (struct task_struct *t, int flags, struct sched_param *p)
void ignore_signals (struct task_struct *t)


Function Documentation

DEFINE_RWLOCK ( tasklist_lock   ) 

void ignore_signals ( struct task_struct *  t  ) 

Definition at line 155 of file arch/l4/sched.c.

void __sched io_schedule ( void   ) 

Definition at line 137 of file arch/l4/sched.c.

long __sched io_schedule_timeout ( long  timeout  ) 

Definition at line 142 of file arch/l4/sched.c.

asmlinkage void preempt_schedule ( void   ) 

Definition at line 7 of file arch/l4/sched.c.

static void process_timeout ( unsigned long  data  )  [static]

Definition at line 71 of file arch/l4/sched.c.

int sched_setscheduler_nocheck ( struct task_struct *  t,
int  flags,
struct sched_param *  p 
)

Definition at line 148 of file arch/l4/sched.c.

asmlinkage void schedule ( void   ) 

Definition at line 20 of file arch/l4/sched.c.

signed long __sched schedule_timeout ( signed long  timeout  ) 

Definition at line 77 of file arch/l4/sched.c.

signed long __sched schedule_timeout_interruptible ( signed long  timeout  ) 

Definition at line 110 of file arch/l4/sched.c.

signed long __sched schedule_timeout_uninterruptible ( signed long  timeout  ) 

Definition at line 117 of file arch/l4/sched.c.

int set_cpus_allowed_ptr ( struct task_struct *  p,
const struct cpumask *  new_mask 
)

Tasks may be forced to run only on a certain no.

of CPUs. Since we only emulate a SMP-environment for the sake of having multiple threads, we do not need to implement this.

Definition at line 127 of file arch/l4/sched.c.

void set_user_nice ( struct task_struct *  p,
long  nice 
)

Definition at line 132 of file arch/l4/sched.c.

int try_to_wake_up ( struct task_struct *  p,
unsigned int  state,
int  sync 
)

Definition at line 56 of file arch/l4/sched.c.

void __sched yield ( void   ) 

yield the current processor to other threads.

this is a shortcut for kernel-space yielding - it marks the thread runnable and calls sys_sched_yield().

Definition at line 43 of file arch/l4/sched.c.


Generated on Wed Apr 11 06:39:16 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6