thread.h File Reference

Classes

class  ThreadInterface
 
class  ThreadInterfaceTemplate< IMPLEMENTATION, USE_VIRTUAL_DESTRUCTOR >
 
class  ThreadRefTemplate< INTERFACE >
 
class  ThreadResultRef< RESULTVALUETYPE >
 
class  ThreadResultRef< Result< RESULTVALUETYPE > >
 
class  ExecuteOnMainThreadResult< RESULTVALUETYPE >
 
class  ExecuteOnMainThreadResult< Result< RESULTVALUETYPE > >
 
class  ExecuteOnMainThreadResult< void >
 

Namespaces

 maxon
 
 maxon::details
 

Typedefs

using ThreadRef = ThreadRefTemplate< ThreadInterface >
 

Functions

 MAXON_DATATYPE (ThreadRef, "net.maxon.datatype.threadref", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel"))
 
template<typename FN >
static auto ExecuteOnMainThreadFallback (FN &&fn) -> decltype(fn())
 
template<typename FN >
auto ExecuteOnMainThread (FN &&fn, WAITMODE waitMode=WAITMODE::DEFAULT, TimeValue wait=TIMEVALUE_INFINITE) -> decltype(fn())