OpenDaVINCI  4.16.0
ConcurrencyFactory.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_WRAPPER_CONCURRENCYFACTORY_H_
21 #define OPENDAVINCI_CORE_WRAPPER_CONCURRENCYFACTORY_H_
22 
24 
25 namespace odcore {
26  namespace wrapper {
27 
28 class Runnable;
29 class Thread;
30 
43  static Thread* createThread(Runnable &runnable);
44 
51  static void usleepFor(const long &microseconds);
52 
60  static void usleepUntil(const long &seconds, const long &partialMicroseconds);
61  };
62 
63  }
64 } // odcore::wrapper
65 
66 #endif /*OPENDAVINCI_CORE_WRAPPER_CONCURRENCYFACTORY_H_*/
Definition: ConcurrencyFactory.h:36
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: Runnable.h:35
Definition: base/Thread.h:34