mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
10 lines
162 B
C
10 lines
162 B
C
|
#include "global.h"
|
||
|
|
||
|
OSPri osGetThreadPri(OSThread* thread) {
|
||
|
if (thread == NULL) {
|
||
|
thread = __osRunningThread;
|
||
|
}
|
||
|
|
||
|
return thread->priority;
|
||
|
}
|