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

atomic_int_struct Struct Reference

#include <WKFThreads.h>

List of all members.

Public Attributes

int padding1 [8]
wkf_mutex_t lock
int val
int padding2 [8]


Member Data Documentation

wkf_mutex_t atomic_int_struct::lock
 

Mutex lock for the structure

Definition at line 220 of file WKFThreads.h.

Referenced by wkf_atomic_int_add_and_fetch, wkf_atomic_int_destroy, wkf_atomic_int_fetch_and_add, wkf_atomic_int_get, wkf_atomic_int_init, and wkf_atomic_int_set.

int atomic_int_struct::padding1[8]
 

Pad to avoid false sharing, cache aliasing

Definition at line 219 of file WKFThreads.h.

int atomic_int_struct::padding2[8]
 

Pad to avoid false sharing, cache aliasing

Definition at line 230 of file WKFThreads.h.

int atomic_int_struct::val
 

Integer value to be atomically manipulated

Definition at line 228 of file WKFThreads.h.

Referenced by wkf_atomic_int_add_and_fetch, wkf_atomic_int_fetch_and_add, wkf_atomic_int_get, wkf_atomic_int_init, and wkf_atomic_int_set.


The documentation for this struct was generated from the following file:
Generated on Wed Apr 24 02:44:11 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002