os_linux.h File Reference
Linux-specific functions.
More...
#include <asm/param.h>
#include <pthread.h>
#include <stdlib.h>
Go to the source code of this file.
|
Defines |
|
#define | OS_PRIO_STRING "Nice" |
Typedefs |
|
typedef int | thread_t |
|
typedef long long | cputime_t |
|
typedef pthread_mutex_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) |
Detailed Description
Linux-specific functions.
- Date:
- 01/19/2004
- Author:
- Jork Loeser <jork.loeser@inf.tu-dresden.de>