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