mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-31 14:04:21 +00:00
Update sthread_get_current_thread_id
This commit is contained in:
parent
e968dd85e2
commit
362b76fd74
@ -259,10 +259,10 @@ uintptr_t sthread_get_thread_id(sthread_t *thread);
|
||||
|
||||
/*
|
||||
* @brief Get thread ID of the current thread
|
||||
* @param thread
|
||||
* @param
|
||||
* @return The ID of the current thread
|
||||
*/
|
||||
uintptr_t sthread_get_current_thread_id(sthread_t *thread);
|
||||
uintptr_t sthread_get_current_thread_id(void);
|
||||
|
||||
RETRO_END_DECLS
|
||||
|
||||
|
@ -948,7 +948,7 @@ uintptr_t sthread_get_thread_id(sthread_t *thread)
|
||||
return (uintptr_t)thread->id;
|
||||
}
|
||||
|
||||
uintptr_t sthread_get_current_thread_id(sthread_t *thread)
|
||||
uintptr_t sthread_get_current_thread_id(void)
|
||||
{
|
||||
#ifdef USE_WIN32_THREADS
|
||||
return (uintptr_t)GetCurrentThreadId();
|
||||
|
Loading…
x
Reference in New Issue
Block a user