blocxx
Namespaces | Functions

ThreadImpl.cpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/ThreadImpl.hpp"
#include "blocxx/Mutex.hpp"
#include "blocxx/Assertion.hpp"
#include "blocxx/Thread.hpp"
#include "blocxx/NonRecursiveMutexLock.hpp"
#include "blocxx/NonRecursiveMutex.hpp"
#include "blocxx/Condition.hpp"
#include "blocxx/Timeout.hpp"
#include "blocxx/Format.hpp"
#include "blocxx/TimeoutTimer.hpp"
#include <cassert>
#include <cstring>
#include <cstddef>
#include <sys/types.h>
#include <errno.h>
#include <signal.h>

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


namespace  BLOCXX_NAMESPACE::ThreadImpl
 

The ThreadImpl namespace represents the functionality needed by the BloCxx Thread class (Thread).


Functions

void BLOCXX_NAMESPACE::ThreadImpl::sleep (UInt32 milliSeconds)
 Suspend execution of the current thread until the given number of milliSeconds have elapsed.
void BLOCXX_NAMESPACE::ThreadImpl::sleep (const Timeout &timeout)
 Suspend execution of the current thread until the given number of seconds have elapsed.
void BLOCXX_NAMESPACE::ThreadImpl::yield ()
 Voluntarily yield to the processor giving the next thread in the chain the opportunity to run.