mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
25 lines
309 B
C
25 lines
309 B
C
#include <rthreads/rthreads.h>
|
|
|
|
uintptr_t sthread_get_thread_id(sthread_t *thread)
|
|
{
|
|
return thread ? 1 : 0;
|
|
}
|
|
|
|
void slock_unlock(slock_t *lock)
|
|
{
|
|
}
|
|
|
|
void slock_lock(slock_t *lock)
|
|
{
|
|
}
|
|
|
|
void slock_free(slock_t *lock)
|
|
{
|
|
}
|
|
|
|
slock_t *slock_new(void)
|
|
{
|
|
static uintptr_t ctr = 1;
|
|
return (slock_t*)ctr++;
|
|
}
|