distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
ThisThread namespace implementation. More...
#include "distortos/ThisThread.hpp"
#include "distortos/internal/scheduler/getScheduler.hpp"
#include "distortos/internal/scheduler/RunnableThread.hpp"
#include "distortos/internal/scheduler/Scheduler.hpp"
#include "distortos/internal/scheduler/threadExiter.hpp"
#include "distortos/internal/CHECK_FUNCTION_CONTEXT.hpp"
#include "distortos/ThreadIdentifier.hpp"
#include <cerrno>
Namespaces | |
distortos | |
Top-level namespace of distortos project. | |
distortos::ThisThread | |
Functions that can be used to control current thread. | |
Functions | |
int | distortos::ThisThread::detach () |
Detaches calling (current) thread. More... | |
void | distortos::ThisThread::exit () |
Exits calling (current) thread. More... | |
Thread & | distortos::ThisThread::get () |
uint8_t | distortos::ThisThread::getEffectivePriority () |
ThreadIdentifier | distortos::ThisThread::getIdentifier () |
uint8_t | distortos::ThisThread::getPriority () |
SchedulingPolicy | distortos::ThisThread::getSchedulingPolicy () |
size_t | distortos::ThisThread::getStackHighWaterMark () |
size_t | distortos::ThisThread::getStackSize () |
void | distortos::ThisThread::setPriority (const uint8_t priority, const bool alwaysBehind) |
void | distortos::ThisThread::setSchedulingPolicy (const SchedulingPolicy schedulingPolicy) |
int | distortos::ThisThread::sleepFor (TickClock::duration duration) |
Makes the calling (current) thread sleep for at least given duration. More... | |
int | distortos::ThisThread::sleepUntil (TickClock::time_point timePoint) |
Makes the calling (current) thread sleep until some time point is reached. More... | |
void | distortos::ThisThread::yield () |
Yields time slot of the scheduler to next thread. More... | |
ThisThread namespace implementation.