#include <WKFThreads.h>
Public Attributes | |
int | padding1 [8] |
wkf_mutex_t | lock |
int | n_clients |
int | n_waiting |
int | phase |
void *(* | fctn )(void *) |
void * | parms |
void *(* | rslt )(void *) |
void * | rsltparms |
wkf_cond_t | wait_cv |
int | padding2 [8] |
|
Fctn ptr to call, or NULL if done Referenced by wkf_thread_run_barrier, and wkf_thread_run_barrier_init. |
|
Mutex lock for the structure Definition at line 248 of file WKFThreads.h. Referenced by wkf_thread_run_barrier, wkf_thread_run_barrier_destroy, wkf_thread_run_barrier_init, and wkf_thread_run_barrier_poll. |
|
Number of threads to wait for at barrier Definition at line 249 of file WKFThreads.h. Referenced by wkf_thread_run_barrier, wkf_thread_run_barrier_init, and wkf_thread_run_barrier_poll. |
|
Number of currently waiting threads Definition at line 250 of file WKFThreads.h. Referenced by wkf_thread_run_barrier, wkf_thread_run_barrier_init, and wkf_thread_run_barrier_poll. |
|
Pad to avoid false sharing, cache aliasing Definition at line 247 of file WKFThreads.h. |
|
Pad to avoid false sharing, cache aliasing Definition at line 257 of file WKFThreads.h. |
|
parms for fctn pointer Definition at line 253 of file WKFThreads.h. Referenced by wkf_thread_run_barrier. |
|
Flag to separate waiters from fast workers Definition at line 251 of file WKFThreads.h. Referenced by wkf_thread_run_barrier, and wkf_thread_run_barrier_init. |
|
Fctn ptr to return to barrier wait callers Referenced by wkf_thread_run_barrier. |
|
parms to return to barrier wait callers Definition at line 255 of file WKFThreads.h. Referenced by wkf_thread_run_barrier. |
|
Clients wait on condition variable to proceed Definition at line 256 of file WKFThreads.h. Referenced by wkf_thread_run_barrier, wkf_thread_run_barrier_destroy, and wkf_thread_run_barrier_init. |