7#ifndef YARP_OS_IMPL_THREADIMPL_H
8#define YARP_OS_IMPL_THREADIMPL_H
25 int join(
double seconds = -1);
38 virtual void beforeStart();
39 virtual void afterStart(
bool success);
41 virtual bool threadInit();
42 virtual void threadRelease();
44 static int getCount();
48 static long int getKeyOfCaller();
59 int setPriority(
int priority = -1,
int policy = -1);
70 int defaultPriority{-1};
71 int defaultPolicy{-1};
80 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 components from which ports and connections are built.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.