mirror of
https://github.com/pret/pokediamond.git
synced 2026-10-04 00:19:31 -04:00
17 lines
281 B
C
17 lines
281 B
C
//
|
|
// Created by red031000 on 2020-05-03.
|
|
//
|
|
|
|
#ifndef POKEDIAMOND_OS_SPINLOCK_H
|
|
#define POKEDIAMOND_OS_SPINLOCK_H
|
|
|
|
typedef volatile struct OSLockWord {
|
|
u32 lockFlag;
|
|
u16 ownerID;
|
|
u16 extension;
|
|
} OSLockWord;
|
|
|
|
s32 OS_GetLockID(void);
|
|
|
|
#endif //POKEDIAMOND_OS_SPINLOCK_H
|