PosixThreadSupport.cpp File Reference

#include <stdio.h>
#include "PosixThreadSupport.h"
#include <errno.h>
#include <unistd.h>
#include "SpuCollisionTaskProcess.h"
#include "SpuNarrowPhaseCollisionTask/SpuGatheringCollisionTask.h"
Include dependency graph for PosixThreadSupport.cpp:

Go to the source code of this file.

Defines

#define checkPThreadFunction(returnValue)

Functions

static sem_t * createSem (const char *baseName)
static void destroySem (sem_t *semaphore)
static void * threadFunction (void *argument)

Variables

static sem_t * mainSemaphore

Define Documentation

#define checkPThreadFunction ( returnValue   ) 
Value:
if(0 != returnValue) { \
        printf("PThread problem at line %i in file %s: %i %d\n", __LINE__, __FILE__, returnValue, errno); \
    }

Definition at line 25 of file PosixThreadSupport.cpp.


Function Documentation

static sem_t* createSem ( const char *  baseName  )  [static]

Definition at line 53 of file PosixThreadSupport.cpp.

static void destroySem ( sem_t *  semaphore  )  [static]

Definition at line 78 of file PosixThreadSupport.cpp.

static void* threadFunction ( void *  argument  )  [static]

Definition at line 88 of file PosixThreadSupport.cpp.


Variable Documentation

sem_t* mainSemaphore [static]

Definition at line 51 of file PosixThreadSupport.cpp.


Generated on Mon Feb 15 22:21:11 2010 for Bullet Collision Detection & Physics Library by  doxygen 1.6.1