sprint 1-alpha
|
thread_function fornisce i metodi per adattare un Invoker a una funzione per thread More...
Go to the source code of this file.
Classes | |
struct | sprint::thread_function |
win32 thread creation params More... | |
Namespaces | |
namespace | sprint |
Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux. | |
Functions | |
template<class R , R(*)() Func> | |
DWORD __stdcall CALLBACK | sprint::detail::embedded_ptr_fun (void *__Unused) |
0 parameters static linked ptr_fun | |
template<class R , class T , R(T::*)() F> | |
DWORD __stdcall CALLBACK | sprint::detail::embedded_mem_fun (void *p) |
template<class _Invoker > | |
DWORD __stdcall CALLBACK | sprint::detail::thread_fun (void *_p) |
a jumper function to adapt a _Invoker object to a thread callback function an invoker is a template class with ParamType type and a static run method the ParamType will be released after run. |
thread_function fornisce i metodi per adattare un Invoker a una funzione per thread