|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_IMPL_THREADIMPL_H
11 #define YARP_OS_IMPL_THREADIMPL_H
30 int join(
double seconds = -1);
43 virtual void beforeStart();
44 virtual void afterStart(
bool success);
46 virtual bool threadInit();
47 virtual void threadRelease();
49 static int getCount();
53 static long int getKeyOfCaller();
64 int setPriority(
int priority = -1,
int policy = -1);
75 int defaultPriority{-1};
76 int defaultPolicy{-1};
85 bool initWasSuccessful{
false};
92 #endif // YARP_OS_IMPL_THREADIMPL_H
A class for thread synchronization and mutual exclusion.
void notifyOpened(bool s)
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.
void yield()
The calling thread releases its remaining quantum upon calling this function.
An abstraction for a thread of execution.
The main, catch-all namespace for YARP.