CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
async.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CallbackBase< ParamT >
 
class  CallbackBase< void >
 
class  Callback< ParamT >
 
class  Callback< void >
 
class  BoundCallback< ParamT, DelegateT >
 
class  BoundCallback< void, DelegateT >
 
class  BoundClosure< ParamT, DelegateT, ClosureDataT >
 
class  BoundClosure< void, DelegateT, ClosureDataT >
 
class  Callbackable< ParamT >
 

Functions

template<class DelegateT >
void ThreadProxy (DelegateT *delegate, void(DelegateT::*method)())
 

Function Documentation

template<class DelegateT >
void ThreadProxy ( DelegateT *  delegate,
void(DelegateT::*)()  method 
)

Wrapper function to bind an arbitrary this* to a method call in a C-style spawned thread function. The method called by the ThreadProxy template is meant to look like this: void foo();

Definition at line 248 of file async.h.