We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8909a24 commit 2b82ec7Copy full SHA for 2b82ec7
openmp/runtime/src/kmp_wrapper_getpid.h
@@ -30,7 +30,7 @@
30
#include <lwp.h>
31
#define __kmp_gettid() _lwp_self()
32
#elif KMP_OS_OPENBSD
33
-#define __kmp_gettid() syscall(SYS_getthrid)
+#define __kmp_gettid() getthrid()
34
#elif defined(SYS_gettid)
35
// Hopefully other Unix systems define SYS_gettid syscall for getting os thread
36
// id
0 commit comments