diff options
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.patch | 29 |
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 @@ | |||
1 | commit e9f9a73c9dba8dd59f3d6c3acd9988ec8361d55a | ||
2 | Author: Aws Ismail <aws.ismail@windriver.com> | ||
3 | Date: 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 | |||
17 | Index: 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 | |||