summaryrefslogtreecommitdiffstats
path: root/gettid.patch
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2019-03-25 12:21:47 -0500
committerRon Olson <tachoknight@gmail.com>2019-03-25 12:21:47 -0500
commit1dee2917099183e204a309d07c9b285762d5bae0 (patch)
tree51111635d3b14157939cf6b7bb9d7c1b697b7d49 /gettid.patch
parent5b78be18c4b8f01a22b2063db33fe79284db60a8 (diff)
downloadswift-lang-1dee2917099183e204a309d07c9b285762d5bae0.tar.gz
swift-lang-1dee2917099183e204a309d07c9b285762d5bae0.tar.xz
swift-lang-1dee2917099183e204a309d07c9b285762d5bae0.zip
Updated to latest 5.0 build; removed _gettid() patch as changes were made upstream
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
-