68 #endif // USE_LWP_LOCK void _FAT_lock_init(mutex_t *mutex)
int mutex_t
typedef for the mutex handle
Definition: lock.c:6
void _FAT_unlock(mutex_t *mutex)
s32 LWP_MutexDestroy(mutex_t mutex)
Close mutex lock, release all threads and handles locked on this mutex.
Definition: mutex.c:122
s32 LWP_MutexLock(mutex_t mutex)
Enter the mutex lock.
Definition: mutex.c:138
void _FAT_lock(mutex_t *mutex)
s32 LWP_MutexUnlock(mutex_t mutex)
Release the mutex lock and let other threads process further on this mutex.
Definition: mutex.c:148
static sys_sem mutex
Definition: memp.c:120
void _FAT_lock_deinit(mutex_t *mutex)
s32 LWP_MutexInit(mutex_t *mutex, bool use_recursive)
Initializes a mutex lock.
Definition: mutex.c:101
int mutex_t
Definition: lock.h:60