![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
this fle provides the multithread features to CarmaObj More...
#include <pthread.h>
Go to the source code of this file.
Classes | |
struct | CarmaThreadBarrier |
Macros | |
#define | CARMAT_THREADPROC void * |
#define | CARMAT_THREADEND return 0 |
Typedefs | |
typedef pthread_t | carma_thread |
typedef void *(* | carma_routine) (void *) |
Functions | |
carma_thread | carma_start_thread (carma_routine func, void *data) |
void | carma_end_thread (carma_thread thread) |
void | carma_destroy_thread (carma_thread thread) |
void | carma_wait4thread (const carma_thread *threads, int num) |
CarmaThreadBarrier | carma_create_barrier (int releaseCount) |
void | carma_increment_barrier (CarmaThreadBarrier *barrier) |
void | carma_wait4barrier (CarmaThreadBarrier *barrier) |
void | carma_destroy_barrier (CarmaThreadBarrier *barrier) |
this fle provides the multithread features to CarmaObj
Definition in file carma_multithread.h.
#define CARMAT_THREADEND return 0 |
Definition at line 54 of file carma_multithread.h.
#define CARMAT_THREADPROC void * |
Definition at line 53 of file carma_multithread.h.
typedef void*(* carma_routine) (void *) |
Definition at line 50 of file carma_multithread.h.
typedef pthread_t carma_thread |
Definition at line 49 of file carma_multithread.h.
CarmaThreadBarrier carma_create_barrier | ( | int | releaseCount | ) |
void carma_destroy_barrier | ( | CarmaThreadBarrier * | barrier | ) |
void carma_destroy_thread | ( | carma_thread | thread | ) |
void carma_end_thread | ( | carma_thread | thread | ) |
void carma_increment_barrier | ( | CarmaThreadBarrier * | barrier | ) |
carma_thread carma_start_thread | ( | carma_routine | func, |
void * | data | ||
) |
void carma_wait4barrier | ( | CarmaThreadBarrier * | barrier | ) |
void carma_wait4thread | ( | const carma_thread * | threads, |
int | num | ||
) |