mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-05-18 09:31:42 -05:00
15 lines
418 B
C
15 lines
418 B
C
#ifndef NITRO_OS_MUTEX_H
|
|
#define NITRO_OS_MUTEX_H
|
|
|
|
#include <nitro/os/context.h>
|
|
#include <nitro/os/common/mutex_shared.h>
|
|
|
|
void OSi_DequeueItem(OSThread * thread, OSMutex * mutex);
|
|
void OSi_EnqueueTail(OSThread * thread, OSMutex * mutex);
|
|
void OS_InitMutex(OSMutex* mutex);
|
|
void OS_LockMutex(OSMutex* mutex);
|
|
void OS_UnlockMutex(OSMutex* mutex);
|
|
void OSi_UnlockAllMutex(OSThread * thread);
|
|
|
|
#endif //NITRO_OS_MUTEX_H
|