diff options
author | Michael Wawrzyniak | 2022-06-02 16:01:50 -0400 |
---|---|---|
committer | Michael Wawrzyniak | 2022-06-02 16:01:50 -0400 |
commit | 12797de77088b01117580bcb39f9cc8a507bdfb4 (patch) | |
tree | b0608d58383c6289fd6b15819732492220c4ac83 /cl-linux-yield.patch | |
parent | 10991adf75a2859a5bc73db61af389dae577236c (diff) | |
download | aur-syncterm.tar.gz |
Cleanup of PKGBUILD and patches for pthread
Diffstat (limited to 'cl-linux-yield.patch')
-rw-r--r-- | cl-linux-yield.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cl-linux-yield.patch b/cl-linux-yield.patch new file mode 100644 index 000000000000..5ad87acf65ca --- /dev/null +++ b/cl-linux-yield.patch @@ -0,0 +1,12 @@ +--- kernel/thread.orig 2022-06-01 11:44:29.563747178 -0400 ++++ kernel/thread.h 2022-06-01 11:46:19.093752131 -0400 +@@ -3005,7 +3005,8 @@ + #endif /* Slowaris 5.7 / 7.x or newer */ + #elif defined( _AIX ) || defined( __Android__ ) || defined( __CYGWIN__ ) || \ + ( defined( __hpux ) && ( OSVERSION >= 11 ) ) || \ +- defined( __NetBSD__ ) || defined( __QNX__ ) || defined( __UCLIBC__ ) ++ defined( __NetBSD__ ) || defined( __QNX__ ) || \ ++ defined( __UCLIBC__ ) || defined(__linux__) + #define THREAD_YIELD() sched_yield() + #elif defined( __XMK__ ) + /* The XMK underlying scheduling object is the process context, for which |