aboutsummaryrefslogtreecommitdiff
path: root/recipes/lua/lua-lanes-2.0.6/uclibc.patch
blob: b3d1f833c18a58f8f12640d965eb7f689af67b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: lanes-2.0.6/src/threading.h
===================================================================
--- lanes-2.0.6.orig/src/threading.h	2010-10-10 09:35:20.000000000 +0200
+++ lanes-2.0.6/src/threading.h	2010-10-10 09:35:32.000000000 +0200
@@ -112,7 +112,7 @@
   #ifdef PLATFORM_OSX
     #define YIELD() pthread_yield_np()
   #else
-    #define YIELD() pthread_yield()
+    #define YIELD() sched_yield()
   #endif
 #endif