thread.h File Reference

Classes

class  ThreadInterface
 
class  ThreadInterfaceTemplate< IMPLEMENTATION >
 
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")
 
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())