00001
00002
00003
00004
00005 #include "Types.h"
00006 #include "Thread.h"
00007
00008 #ifndef THREADEDTASK_H_INCLUDED
00009 #define THREADEDTASK_H_INCLUDED
00010
00011 namespace MPMA
00012 {
00023 template <typename FuncType, FuncType userFunc, typename UserParamType>
00024 void ExecuteThreadedTask(uint count, UserParamType userParam);
00025 }
00026
00027 #ifndef THREADEDTASK_INCLUDE_INLINE
00028 #define THREADEDTASK_INCLUDE_INLINE
00029 #include "ThreadedTask.cpp"
00030 #endif
00031
00032 #endif //THREADEDTASK_H_INCLUDED