1 2 3 4 5 6 7 8 9 10
#include "PR/os_internal.h" #include "osint.h" OSPri osGetThreadPri(OSThread* thread) { if (thread == NULL) { thread = __osRunningThread; } return thread->priority; }