Intel® OpenMP* Runtime Library
 All Classes Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Member Functions | Private Attributes | List of all members
kmp_flag< P > Class Template Reference

#include <kmp_wait_release.h>

Public Member Functions

volatile P * get ()
 
void set (volatile P *new_loc)
 
flag_type get_type ()
 

Private Attributes

volatile P * loc
 
flag_type t
 

Detailed Description

template<typename P>
class kmp_flag< P >

Base class for wait/release volatile flag

Definition at line 67 of file kmp_wait_release.h.

Member Function Documentation

template<typename P>
volatile P* kmp_flag< P >::get ( )
inline
Returns
the pointer to the actual flag

Definition at line 76 of file kmp_wait_release.h.

template<typename P>
flag_type kmp_flag< P >::get_type ( )
inline
Returns
the flag_type

Definition at line 84 of file kmp_wait_release.h.

template<typename P>
void kmp_flag< P >::set ( volatile P *  new_loc)
inline
Parameters
new_locin set loc to point at new_loc

Definition at line 80 of file kmp_wait_release.h.

Member Data Documentation

template<typename P>
volatile P* kmp_flag< P >::loc
private

Pointer to the flag storage that is modified by another thread

Definition at line 68 of file kmp_wait_release.h.

Referenced by kmp_flag< kmp_uint32 >::get().

template<typename P>
flag_type kmp_flag< P >::t
private

"Type" of the flag in loc

Definition at line 69 of file kmp_wait_release.h.

Referenced by kmp_flag< kmp_uint32 >::get_type().


The documentation for this class was generated from the following file: