#include <stdio.h>
#include "PosixThreadSupport.h"
#include <errno.h>
#include <unistd.h>
#include "SpuCollisionTaskProcess.h"
#include "SpuNarrowPhaseCollisionTask/SpuGatheringCollisionTask.h"
Go to the source code of this file.
Classes | |
class | PosixCriticalSection |
class | PosixBarrier |
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 = 0 |
#define checkPThreadFunction | ( | returnValue | ) |
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.
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 79 of file PosixThreadSupport.cpp.
static void* threadFunction | ( | void * | argument | ) | [static] |
Definition at line 89 of file PosixThreadSupport.cpp.
sem_t* mainSemaphore = 0 [static] |
Definition at line 51 of file PosixThreadSupport.cpp.