watch.c File Reference

Preemption watcher. More...

Go to the source code of this file.

Functions

static int thread_equal (l4_threadid_t a, l4_threadid_t b)
 Compare threads, ignoring chief, nest and site.
static int watch_hit_ts (const l4_threadid_t *thread, int id)
 Will be called by our own watcher thread on timeslice overrrun.
void watcher_fn (void *arg)

Variables

int watch_verbose


Detailed Description

Preemption watcher.

Date:
09/18/2004
Author:
Jork Loeser <jork.loeser@inf.tu-dresden.de>

Definition in file watch.c.


Function Documentation

static int thread_equal ( l4_threadid_t  a,
l4_threadid_t  b 
) [inline, static]

Compare threads, ignoring chief, nest and site.

Definition at line 28 of file watch.c.

static int watch_hit_ts ( const l4_threadid_t *  thread,
int  id 
) [static]

Will be called by our own watcher thread on timeslice overrrun.

Definition at line 35 of file watch.c.

References is_dp(), lock_scheds(), sched_cur_threads, scheds, thread_equal(), unlock_scheds(), and sched_t::watch.

Referenced by watcher_fn().

void watcher_fn ( void *  arg  ) 


Variable Documentation

Definition at line 34 of file main.c.

Referenced by main(), and watcher_fn().


CPU reservation server Reference Manual, written by Jork Loeser  © 2004