summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/openhpi/files/openhpi-hpi-shell-thread-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-hpi-shell-thread-fix.patch')
-rw-r--r--meta-networking/recipes-daemons/openhpi/files/openhpi-hpi-shell-thread-fix.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-hpi-shell-thread-fix.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-hpi-shell-thread-fix.patch
deleted file mode 100644
index cc21ff8c7..000000000
--- a/meta-networking/recipes-daemons/openhpi/files/openhpi-hpi-shell-thread-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1commit e9f9a73c9dba8dd59f3d6c3acd9988ec8361d55a
2Author: Aws Ismail <aws.ismail@windriver.com>
3Date: Mon Dec 17 16:23:45 2012 -0500
4
5 Correct dangling g_thread_exit in session.c
6
7 hpi_shell's session.c has its progress_bar
8 thread created using pthread_create but
9 exited using g_thread_exit. Use pthread_exit
10 instead to avoid unpredictable GLIB thread
11 errors.
12
13 Upstream-Status: Pending
14
15 Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
16
17Index: openhpi-3.6.1/hpi_shell/session.c
18===================================================================
19--- openhpi-3.6.1.orig/hpi_shell/session.c
20+++ openhpi-3.6.1/hpi_shell/session.c
21@@ -73,7 +73,7 @@ static void* progress_bar(void *unused)
22 if (i < (PROGRESS_BUF_SIZE - mes_len - 1)) i++;
23 t++;
24 };
25- g_thread_exit(0);
26+ pthread_exit(0);
27 return (void *)1;
28 }
29