Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

wkf_run_barrier_struct Struct Reference

#include <WKFThreads.h>

List of all members.


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]

Member Data Documentation

void*(* wkf_run_barrier_struct::fctn)(void *)

Fctn ptr to call, or NULL if done

Referenced by wkf_thread_run_barrier, and wkf_thread_run_barrier_init.

wkf_mutex_t wkf_run_barrier_struct::lock

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.

int wkf_run_barrier_struct::n_clients

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.

int wkf_run_barrier_struct::n_waiting

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.

int wkf_run_barrier_struct::padding1[8]

Pad to avoid false sharing, cache aliasing

Definition at line 247 of file WKFThreads.h.

int wkf_run_barrier_struct::padding2[8]

Pad to avoid false sharing, cache aliasing

Definition at line 257 of file WKFThreads.h.

void* wkf_run_barrier_struct::parms

parms for fctn pointer

Definition at line 253 of file WKFThreads.h.

Referenced by wkf_thread_run_barrier.

int wkf_run_barrier_struct::phase

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.

void*(* wkf_run_barrier_struct::rslt)(void *)

Fctn ptr to return to barrier wait callers

Referenced by wkf_thread_run_barrier.

void* wkf_run_barrier_struct::rsltparms

parms to return to barrier wait callers

Definition at line 255 of file WKFThreads.h.

Referenced by wkf_thread_run_barrier.

wkf_cond_t wkf_run_barrier_struct::wait_cv

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.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 17 02:49:08 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /