LLVM OpenMP 22.0.0git
|
Base class for all flags. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/openmp/runtime/src/kmp_wait_release.h"
Public Types | |
typedef flag_traits< FlagType > | traits_type |
Public Member Functions | |
kmp_flag () | |
kmp_flag (int nwaiters) | |
kmp_flag (std::atomic< bool > *sloc) | |
flag_type | get_type () |
kmp_info_t * | get_waiter (kmp_uint32 i) |
param i in index into waiting_threads | |
kmp_uint32 | get_num_waiters () |
void | set_waiter (kmp_info_t *thr) |
enum barrier_type | get_bt () |
Protected Attributes | |
flag_properties | t |
"Type" of the flag in loc | |
kmp_info_t * | waiting_threads [1] = {nullptr} |
kmp_uint32 | num_waiting_threads |
Num threads sleeping on this thread. | |
std::atomic< bool > * | sleepLoc |
Base class for all flags.
Definition at line 104 of file kmp_wait_release.h.
typedef flag_traits<FlagType> kmp_flag< FlagType >::traits_type |
Definition at line 113 of file kmp_wait_release.h.
|
inline |
Definition at line 114 of file kmp_wait_release.h.
References t.
Referenced by kmp_flag_atomic< PtrType, FlagType, Sleepable >::kmp_flag_atomic(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::kmp_flag_atomic(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::kmp_flag_atomic(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::kmp_flag_atomic(), kmp_flag_native< PtrType, FlagType, Sleepable >::kmp_flag_native(), kmp_flag_native< PtrType, FlagType, Sleepable >::kmp_flag_native(), kmp_flag_native< PtrType, FlagType, Sleepable >::kmp_flag_native(), and kmp_flag_native< PtrType, FlagType, Sleepable >::kmp_flag_native().
|
inline |
Definition at line 115 of file kmp_wait_release.h.
References t.
|
inline |
Definition at line 117 of file kmp_wait_release.h.
References t.
|
inline |
Definition at line 136 of file kmp_wait_release.h.
References bs_last_barrier.
|
inline |
Definition at line 129 of file kmp_wait_release.h.
References kmp_uint32, and num_waiting_threads.
|
inline |
param i in index into waiting_threads
Definition at line 124 of file kmp_wait_release.h.
References i, KMP_DEBUG_ASSERT, kmp_uint32, num_waiting_threads, and waiting_threads.
|
inline |
thr | in the thread which is now waiting Insert a waiting thread at index 0. |
Definition at line 132 of file kmp_wait_release.h.
References num_waiting_threads, and waiting_threads.
Referenced by __kmp_hyper_barrier_gather().
|
protected |
Num threads sleeping on this thread.
Definition at line 109 of file kmp_wait_release.h.
Referenced by get_num_waiters(), get_waiter(), and set_waiter().
Definition at line 110 of file kmp_wait_release.h.
|
protected |
"Type" of the flag in loc
Threads sleeping on this thread.
Definition at line 106 of file kmp_wait_release.h.
Referenced by get_type(), kmp_flag(), kmp_flag(), and kmp_flag().
|
protected |
Definition at line 108 of file kmp_wait_release.h.
Referenced by get_waiter(), and set_waiter().