Skip to content

Commit 6ad7713

Browse files
committed
Revert "Merge pull request #59220 from kateinoigakukun/katei/dont-use-gettid-wrapper"
This reverts commit 58081c8, reversing changes made to 94c9ce6.
1 parent 6c0636b commit 6ad7713

File tree

1 file changed

+1
-1
lines changed
  • include/swift/Threading/Impl/Linux

1 file changed

+1
-1
lines changed

include/swift/Threading/Impl/Linux/ulock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ typedef std::int32_t ulock_t;
4646
inline int ulock_get_tid(void) {
4747
static __thread int tid;
4848
if (tid == 0)
49-
tid = syscall(SYS_gettid);
49+
tid = gettid();
5050
return tid;
5151
}
5252

0 commit comments

Comments
 (0)