#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.
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 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 78 of file PosixThreadSupport.cpp.
| static void* threadFunction | ( | void * | argument | ) | [static] |
Definition at line 88 of file PosixThreadSupport.cpp.
sem_t* mainSemaphore [static] |
Definition at line 51 of file PosixThreadSupport.cpp.
1.6.1