ThreadMath< ParaType, CLASS_NAME > Class Template Reference

#include <test_atomic.h>

Inheritance diagram for ThreadMath< ParaType, CLASS_NAME >:

test::TestThread< ParaType > amino::Thread amino::Runnable

List of all members.

Public Member Functions

 ThreadMath (atomic< ParaType > *var, AtomicNumTest< ParaType, CLASS_NAME > *test_case, int nOperation)
void * run ()
 this method will try to add and sub the same number from the atomic variable. so the final result will be no change at all.

template<class ParaType, char const * CLASS_NAME>
class ThreadMath< ParaType, CLASS_NAME >


Constructor & Destructor Documentation

template<class ParaType, char const * CLASS_NAME>
ThreadMath< ParaType, CLASS_NAME >::ThreadMath ( atomic< ParaType > *  var,
AtomicNumTest< ParaType, CLASS_NAME > *  test_case,
int  nOperation 
) [inline]


Member Function Documentation

template<class ParaType, char const * CLASS_NAME>
void* ThreadMath< ParaType, CLASS_NAME >::run (  )  [inline, virtual]

this method will try to add and sub the same number from the atomic variable. so the final result will be no change at all.

Reimplemented from amino::Thread.


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

Generated on Tue Dec 9 13:39:39 2008 for Amino by  doxygen 1.5.6