#include <kmp_wait_release.h>
template<flag_type FlagType>
class kmp_flag< FlagType >
Base class for all flags
Definition at line 104 of file kmp_wait_release.h.
◆ get_num_waiters()
template<flag_type FlagType>
kmp_uint32 kmp_flag< FlagType >::get_num_waiters |
( |
| ) |
|
|
inline |
◆ get_type()
template<flag_type FlagType>
flag_type kmp_flag< FlagType >::get_type |
( |
| ) |
|
|
inline |
◆ get_waiter()
template<flag_type FlagType>
kmp_info_t* kmp_flag< FlagType >::get_waiter |
( |
kmp_uint32 |
i | ) |
|
|
inline |
param i in index into waiting_threads
- Returns
- the thread that is waiting at index i
Definition at line 123 of file kmp_wait_release.h.
◆ set_waiter()
template<flag_type FlagType>
void kmp_flag< FlagType >::set_waiter |
( |
kmp_info_t * |
thr | ) |
|
|
inline |
- Parameters
-
thr | in the thread which is now waiting Insert a waiting thread at index 0. |
Definition at line 131 of file kmp_wait_release.h.
◆ num_waiting_threads
template<flag_type FlagType>
kmp_uint32 kmp_flag< FlagType >::num_waiting_threads |
|
protected |
template<flag_type FlagType>
◆ waiting_threads
template<flag_type FlagType>
kmp_info_t* kmp_flag< FlagType >::waiting_threads[1] |
|
protected |
The documentation for this class was generated from the following file: