summaryrefslogtreecommitdiffstats
path: root/gettid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gettid.patch')
-rw-r--r--gettid.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/gettid.patch b/gettid.patch
deleted file mode 100644
index 5be918b..0000000
--- a/gettid.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- swift-corelibs-libdispatch/src/queue.c.orig 2019-03-09 16:58:51.182875053 -0600
-+++ swift-corelibs-libdispatch/src/queue.c 2019-03-10 08:29:51.377391396 -0500
-@@ -926,7 +926,7 @@
- #ifdef SYS_gettid
- DISPATCH_ALWAYS_INLINE
- static inline pid_t
--gettid(void)
-+__gettid(void)
- {
- return (pid_t)syscall(SYS_gettid);
- }
-@@ -1054,7 +1054,7 @@
- #else
- pthread_setspecific(__dispatch_tsd_key, &__dispatch_tsd);
- #endif /* defined(_WIN32) */
-- __dispatch_tsd.tid = gettid();
-+ __dispatch_tsd.tid = __gettid();
- }
- #endif
-