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.
2 parents 94c9ce6 + ead6e3d commit 58081c8Copy full SHA for 58081c8
include/swift/Threading/Impl/Linux/ulock.h
@@ -46,7 +46,7 @@ typedef std::int32_t ulock_t;
46
inline int ulock_get_tid(void) {
47
static __thread int tid;
48
if (tid == 0)
49
- tid = gettid();
+ tid = syscall(SYS_gettid);
50
return tid;
51
}
52
0 commit comments