LLVM OpenMP 20.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.
|
inline |
Definition at line 115 of file kmp_wait_release.h.
|
inline |
Definition at line 117 of file kmp_wait_release.h.
|
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_flag< FlagType >::num_waiting_threads.
Definition at line 120 of file kmp_wait_release.h.
References kmp_flag< FlagType >::t, and flag_properties::type.
|
inline |
param i in index into waiting_threads
Definition at line 124 of file kmp_wait_release.h.
References i, KMP_DEBUG_ASSERT, kmp_flag< FlagType >::num_waiting_threads, and kmp_flag< FlagType >::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 kmp_flag< FlagType >::num_waiting_threads, and kmp_flag< FlagType >::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 kmp_flag< FlagType >::get_num_waiters(), kmp_flag< FlagType >::get_waiter(), and kmp_flag< FlagType >::set_waiter().
Definition at line 110 of file kmp_wait_release.h.
Referenced by kmp_flag_native< PtrType, FlagType, Sleepable >::done_check(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::done_check(), kmp_flag_native< PtrType, FlagType, Sleepable >::is_any_sleeping(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::is_any_sleeping(), kmp_flag_native< PtrType, FlagType, Sleepable >::is_sleeping(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::is_sleeping(), kmp_flag_native< PtrType, FlagType, Sleepable >::is_sleeping_val(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::is_sleeping_val(), kmp_flag_native< PtrType, FlagType, Sleepable >::set_sleeping(), kmp_flag_atomic< PtrType, FlagType, Sleepable >::set_sleeping(), kmp_flag_native< PtrType, FlagType, Sleepable >::unset_sleeping(), and kmp_flag_atomic< PtrType, FlagType, Sleepable >::unset_sleeping().
|
protected |
"Type" of the flag in loc
Threads sleeping on this thread.
Definition at line 106 of file kmp_wait_release.h.
Referenced by kmp_flag< FlagType >::get_type().
|
protected |