#include <WKFThreads.h>
Public Attributes | |
int | padding1 [8] |
wkf_mutex_t | lock |
int | n_clients |
int | n_waiting |
int | phase |
int | sum |
int | result |
wkf_cond_t | wait_cv |
int | padding2 [8] |
|
Mutex lock for the structure Definition at line 236 of file WKFThreads.h. Referenced by wkf_thread_barrier, wkf_thread_barrier_destroy, wkf_thread_barrier_init, and wkf_thread_barrier_init_proc_shared. |
|
Number of threads to wait for at barrier Definition at line 237 of file WKFThreads.h. Referenced by wkf_thread_barrier, wkf_thread_barrier_init, and wkf_thread_barrier_init_proc_shared. |
|
Number of currently waiting threads Definition at line 238 of file WKFThreads.h. Referenced by wkf_thread_barrier, wkf_thread_barrier_init, and wkf_thread_barrier_init_proc_shared. |
|
Pad to avoid false sharing, cache aliasing Definition at line 235 of file WKFThreads.h. |
|
Pad to avoid false sharing, cache aliasing Definition at line 243 of file WKFThreads.h. |
|
Flag to separate waiters from fast workers Definition at line 239 of file WKFThreads.h. Referenced by wkf_thread_barrier, wkf_thread_barrier_init, and wkf_thread_barrier_init_proc_shared. |
|
Answer to be returned by barrier_wait Definition at line 241 of file WKFThreads.h. Referenced by wkf_thread_barrier. |
|
Sum of arguments passed to barrier_wait Definition at line 240 of file WKFThreads.h. Referenced by wkf_thread_barrier, wkf_thread_barrier_init, and wkf_thread_barrier_init_proc_shared. |
|
Clients wait on condition variable to proceed Definition at line 242 of file WKFThreads.h. Referenced by wkf_thread_barrier, wkf_thread_barrier_destroy, wkf_thread_barrier_init, and wkf_thread_barrier_init_proc_shared. |