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

threads.hpp File Reference

#include "debug.hpp"

Include dependency graph for threads.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  AI_Lock
class  Synchronized

Defines

#define THREADS_HPP

Typedefs

typedef void (* AI_ThreadRoutine )(void *opaque)
typedef AI_CriticalSectionStructAI_CriticalSection

Functions

bool AI_CreateThread (AI_ThreadRoutine routine, void *opaque, int priority=0)
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)


Define Documentation

#define THREADS_HPP
 

Value:

Internal platform-specific threads

AI namespace = Audiere Internal

Definition at line 9 of file threads.hpp.


Typedef Documentation

typedef AI_CriticalSectionStruct * AI_CriticalSection
 

Definition at line 18 of file threads.hpp.

typedef void(* AI_ThreadRoutine)(void *opaque)
 

Definition at line 15 of file threads.hpp.


Function Documentation

AI_CriticalSection AI_CreateCriticalSection ( )
 

Definition at line 60 of file threads_posix.cpp.

Referenced by Synchronized::Synchronized().

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.


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