9 #ifndef _KIPR_THREAD_THREAD_H_
10 #define _KIPR_THREAD_THREAD_H_
#define EXPORT_SYM
Definition: export.h:7
EXPORT_SYM int mutex_trylock(mutex m)
EXPORT_SYM void mutex_destroy(mutex m)
void(* thread_function)()
thread_function is a wrapper for functions of all return types.
Definition: thread.h:50
EXPORT_SYM void mutex_lock(mutex m)
EXPORT_SYM void thread_destroy(thread id)
EXPORT_SYM void thread_wait(thread id)
EXPORT_SYM void thread_start(thread id)
EXPORT_SYM mutex mutex_create()
EXPORT_SYM thread thread_create(thread_function func)
EXPORT_SYM void mutex_unlock(mutex m)
A mutex, or lock.
Definition: thread.h:26
void * data
a C++ Mutex object cast to a void*. Not intended to be accessed.
Definition: thread.h:27
A thread, or separate process.
Definition: thread.h:38
void * data
a C++ Thread object cast to a void*. Not intended to be accessed.
Definition: thread.h:39