Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

threads_posix.cpp File Reference

#include <unistd.h>
#include <pthread.h>
#include "threads.hpp"

Include dependency graph for threads_posix.cpp:

Include dependency graph

Go to the source code of this file.

Compounds

struct  AI_CriticalSectionStruct
struct  ThreadInternal

Functions

void* ThreadRoutine (void *arg)
bool AI_CreateThread (AI_ThreadRoutine routine, void *opaque, int priority)
void AI_Sleep (unsigned milliseconds)
AI_CriticalSection AI_CreateCriticalSection ()
void AI_DestroyCriticalSection (AI_CriticalSection cs)
void AI_EnterCriticalSection (AI_CriticalSection cs)
void AI_LeaveCriticalSection (AI_CriticalSection cs)


Function Documentation

AI_CriticalSection AI_CreateCriticalSection ( )
 

Definition at line 60 of file threads_posix.cpp.

bool AI_CreateThread ( AI_ThreadRoutine routine,
void * opaque,
int priority = 0 )
 

Definition at line 31 of file threads_posix.cpp.

void AI_DestroyCriticalSection ( AI_CriticalSection cs )
 

Definition at line 74 of file threads_posix.cpp.

void AI_EnterCriticalSection ( AI_CriticalSection cs )
 

Definition at line 81 of file threads_posix.cpp.

void AI_LeaveCriticalSection ( AI_CriticalSection cs )
 

Definition at line 88 of file threads_posix.cpp.

void AI_Sleep ( unsigned milliseconds )
 

Definition at line 49 of file threads_posix.cpp.

void * ThreadRoutine ( void * arg )
 

Definition at line 21 of file threads_posix.cpp.


Generated at Mon Jun 10 02:55:23 2002 for audiere by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001