aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2010-11-06 00:36:53 +0000
committerKhem Raj <raj.khem@gmail.com>2010-11-06 08:52:19 -0700
commit5142b50dab9731fb0c508f8e24666865e2b84e4c (patch)
treefd2572ac6c30de59ce66748dafe42f19836a0112 /recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch
parent88d163bf331bb7543c01e58207167a532638801f (diff)
downloadopenembedded-5142b50dab9731fb0c508f8e24666865e2b84e4c.tar.gz
vlc_1.1.4.1: Why is `lua5.1-native` not added to `DEPENDS` automatically?
Paul Menzel <paulepanter@users.sourceforge.net> [2010-11-06 10:31:25]: > Or is is inevitable to add `lua5.1-native` to `DEPENDS`? You have to. As an example I've attached for you my recipe for lua-lanes, which uses luac also. -- ynezz >From 865463173cbb5d70282ea69c2c84084e435578e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= <ynezz@true.cz> Date: Sun, 10 Oct 2010 10:24:39 +0200 Subject: [PATCH] lua-lanes: add new recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch')
-rw-r--r--recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch b/recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch
new file mode 100644
index 0000000000..18fb36bbbd
--- /dev/null
+++ b/recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch
@@ -0,0 +1,31 @@
+From 69583ec6fc6cd18a0248d1233193bb2407dbda04 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20=C5=A0tetiar?= <ynezz@true.cz>
+Date: Sun, 31 Oct 2010 23:02:49 +0100
+Subject: [PATCH] fix LanesTimer inifinite thread GC
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+threading.c 394: pthread_cond_destroy(ref) failed, 16 EBUSY
+
+Signed-off-by: Petr Štetiar <ynezz@true.cz>
+---
+ src/lanes.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/lanes.c b/src/lanes.c
+index c02c540..54cfa7a 100644
+--- a/src/lanes.c
++++ b/src/lanes.c
+@@ -1559,7 +1559,7 @@ LUAG_FUNC( thread_gc ) {
+
+ // We can read 's->status' without locks, but not wait for it
+ //
+- if (s->status < DONE) {
++ if (s->status < DONE && strcmp(s->threadName, "LanesTimer")) {
+ //
+ selfdestruct_add(s);
+ assert( s->selfdestruct_next );
+--
+1.7.0.4
+