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 6c0636b commit 6ad7713Copy full SHA for 6ad7713
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 = syscall(SYS_gettid);
+ tid = gettid();
50
return tid;
51
}
52
0 commit comments