Merge branch 'master' into netbsd

This commit is contained in:
Andreas T Jonsson committed 2024-05-10 09:04:52 +02:00
commit b72c2edabb
44 files changed
+2210 -372

No files matched your search

+2
View File
@@ -3025,6 +3025,8 @@ gb_inline u32 gb_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 gb_thread_current_id()
#endif