sprint 1-alpha
Classes | Namespaces | Functions
sprint/thread/detail/function.h File Reference

thread_function fornisce i metodi per adattare un Invoker a una funzione per thread More...

#include <sprint/thread/detail/platform.h>
#include <windows.h>

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.

Detailed Description

thread_function fornisce i metodi per adattare un Invoker a una funzione per thread

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines