MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / getIdentifier

Function getIdentifier

source/threads/ThisThread.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65ThreadIdentifier getIdentifier()
66{
67 CHECK_FUNCTION_CONTEXT();
68
69 const auto& threadControlBlock = internal::getScheduler().getCurrentThreadControlBlock();
70 return {threadControlBlock, threadControlBlock.getSequenceNumber()};
71}
72
73uint8_t getPriority()
74{

Callers 1

phase5Function · 0.85

Calls 1

getSequenceNumberMethod · 0.80

Tested by 1

phase5Function · 0.68