HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_RelacyTest< DERIVED_T, THREAD_COUNT > Class Template Reference

#include <UT_Relacy.h>

Public Types

typedef UT_RelacyTest
< DERIVED_T, THREAD_COUNT > 
TestThread
 

Static Public Member Functions

static bool simulate (int ITER_COUNT, bool verbose)
 

Protected Member Functions

void construct ()
 
void destruct ()
 
void fail ()
 
void sleepRandom (unsigned int max_millisec)
 
int getMaxThreadId (int num_threads) const
 

Friends

template<typename T >
struct UT_Relacy::ThreadData
 

Detailed Description

template<typename DERIVED_T, int THREAD_COUNT>
class UT_RelacyTest< DERIVED_T, THREAD_COUNT >

Definition at line 703 of file UT_Relacy.h.

Member Typedef Documentation

template<typename DERIVED_T , int THREAD_COUNT>
typedef UT_RelacyTest<DERIVED_T,THREAD_COUNT> UT_RelacyTest< DERIVED_T, THREAD_COUNT >::TestThread

Definition at line 706 of file UT_Relacy.h.

Member Function Documentation

template<typename DERIVED_T , int THREAD_COUNT>
void UT_RelacyTest< DERIVED_T, THREAD_COUNT >::construct ( )
inlineprotected

Definition at line 760 of file UT_Relacy.h.

template<typename DERIVED_T , int THREAD_COUNT>
void UT_RelacyTest< DERIVED_T, THREAD_COUNT >::destruct ( )
inlineprotected

Definition at line 764 of file UT_Relacy.h.

template<typename DERIVED_T , int THREAD_COUNT>
void UT_RelacyTest< DERIVED_T, THREAD_COUNT >::fail ( )
inlineprotected

Definition at line 768 of file UT_Relacy.h.

template<typename DERIVED_T , int THREAD_COUNT>
int UT_RelacyTest< DERIVED_T, THREAD_COUNT >::getMaxThreadId ( int  num_threads) const
inlineprotected

Definition at line 779 of file UT_Relacy.h.

template<typename DERIVED_T , int THREAD_COUNT>
static bool UT_RelacyTest< DERIVED_T, THREAD_COUNT >::simulate ( int  ITER_COUNT,
bool  verbose 
)
inlinestatic

Definition at line 709 of file UT_Relacy.h.

template<typename DERIVED_T , int THREAD_COUNT>
void UT_RelacyTest< DERIVED_T, THREAD_COUNT >::sleepRandom ( unsigned int  max_millisec)
inlineprotected

Definition at line 774 of file UT_Relacy.h.

Friends And Related Function Documentation

template<typename DERIVED_T , int THREAD_COUNT>
template<typename T >
friend struct UT_Relacy::ThreadData
friend

Definition at line 801 of file UT_Relacy.h.


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