mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-06 21:06:18 -04:00
Merge branch 'master' into netbsd
This commit is contained in:
commit
b72c2edabb
44 files changed
+2210
-372
No files matched your search
@@ -492,6 +492,8 @@ gb_internal u32 thread_current_id(void) {
|
||||
thread_id = gettid();
|
||||
#elif defined(GB_SYSTEM_HAIKU)
|
||||
thread_id = find_thread(NULL);
|
||||
#elif defined(GB_SYSTEM_FREEBSD)
|
||||
thread_id = pthread_getthreadid_np();
|
||||
#else
|
||||
#error Unsupported architecture for thread_current_id()
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user