MPMA Framework 0.4
ThreadedTask.h
Go to the documentation of this file.
00001 
00002 //Luke Lenhart (2007)
00003 //See /docs/License.txt for details on how this code may be used.
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(nuint 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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends