libkipr  1.0.0
thread.h File Reference

Threading methods. More...

Go to the source code of this file.

Classes

struct  mutex
 A mutex, or lock. More...
 
struct  thread
 A thread, or separate process. More...
 

Typedefs

typedef void(* thread_function) ()
 thread_function is a wrapper for functions of all return types. More...
 

Functions

EXPORT_SYM mutex mutex_create ()
 
EXPORT_SYM void mutex_lock (mutex m)
 
EXPORT_SYM int mutex_trylock (mutex m)
 
EXPORT_SYM void mutex_unlock (mutex m)
 
EXPORT_SYM void mutex_destroy (mutex m)
 
EXPORT_SYM thread thread_create (thread_function func)
 
EXPORT_SYM void thread_start (thread id)
 
EXPORT_SYM void thread_wait (thread id)
 
EXPORT_SYM void thread_destroy (thread id)
 

Detailed Description

Threading methods.

Author
Braden McDorman