os_l4.h File Reference
L4-specific functions.
More...
#include <l4/semaphore/semaphore.h>
#include <l4/thread/thread.h>
#include <l4/util/rdtsc.h>
Go to the source code of this file.
|
Defines |
#define | OS_PRIO_STRING "Prio" |
Typedefs |
typedef l4_threadid_t | thread_t |
typedef l4_cpu_time_t | cputime_t |
typedef l4semaphore_t | os_mutex |
Functions |
int | os_thread_cmp (thread_t t1, thread_t t2) |
int | os_thread_near (thread_t t1, thread_t t2) |
void | os_mutex_init (os_mutex *mutex) |
void | os_mutex_destroy (os_mutex *mutex) |
void | os_mutex_lock (os_mutex *mutex) |
void | os_mutex_unlock (os_mutex *mutex) |
int | os_time2ms (cputime_t time) |
int | os_time2us (cputime_t time) |
int | os_thread_cmp (l4_threadid_t t1, l4_threadid_t t2) |
Detailed Description
L4-specific functions.
- Date:
- 01/19/2004
- Author:
- Jork Loeser <jork.loeser@inf.tu-dresden.de>