7 #ifndef YARP_OS_IMPL_THREADIMPL_H
8 #define YARP_OS_IMPL_THREADIMPL_H
27 int join(
double seconds = -1);
40 virtual void beforeStart();
41 virtual void afterStart(
bool success);
43 virtual bool threadInit();
44 virtual void threadRelease();
46 static int getCount();
50 static long int getKeyOfCaller();
61 int setPriority(
int priority = -1,
int policy = -1);
72 int defaultPriority{-1};
73 int defaultPolicy{-1};
82 bool initWasSuccessful{
false};
A class for thread synchronization and mutual exclusion.
An abstraction for a thread of execution.
void notifyOpened(bool s)
ContainerT::value_type join(typename ContainerT::const_iterator begin, typename ContainerT::const_iterator end, const typename ContainerT::value_type &separator=", ")
Utility to join the elements in a container to a single string separated by a separator.
void yield()
The calling thread releases its remaining quantum upon calling this function.
The main, catch-all namespace for YARP.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.