diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch b/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch deleted file mode 100644 index 4ff7b80075..0000000000 --- a/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | copy from OE, said to borrow from Ubuntu. Not in glib-2.0 upstream yet. Add for sanity. | ||
2 | Added to poky by Kevin Tian <kevin.tian@intel.com>, 06/25/2010 | ||
3 | Rebased for glib-2.27.3 by Dongxiao Xu <dongxiao.xu@intel.com>, 11/16/2010 | ||
4 | |||
5 | Upstream-Status: Inappropriate [patches for test code] | ||
6 | |||
7 | diff -ruN glib-2.30.0-orig/tests/threadpool-test.c glib-2.30.0/tests/threadpool-test.c | ||
8 | --- glib-2.30.0-orig/tests/threadpool-test.c 2009-04-01 07:04:21.000000000 +0800 | ||
9 | +++ glib-2.30.0/tests/threadpool-test.c 2010-11-16 12:28:09.002172678 +0800 | ||
10 | @@ -5,8 +5,8 @@ | ||
11 | |||
12 | #include <glib.h> | ||
13 | |||
14 | -#define DEBUG_MSG(x) | ||
15 | -/* #define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); */ | ||
16 | +/* #define DEBUG_MSG(x) */ | ||
17 | +#define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); | ||
18 | |||
19 | #define WAIT 5 /* seconds */ | ||
20 | #define MAX_THREADS 10 | ||
21 | @@ -130,10 +130,10 @@ | ||
22 | test_count_threads () == 0) | ||
23 | break; | ||
24 | |||
25 | - DEBUG_MSG (("[unused] waiting ONE second for threads to die")); | ||
26 | + DEBUG_MSG (("[unused] waiting FIVE second for threads to die")); | ||
27 | |||
28 | /* Some time for threads to die. */ | ||
29 | - g_usleep (G_USEC_PER_SEC); | ||
30 | + g_usleep (5 * G_USEC_PER_SEC); | ||
31 | } | ||
32 | |||
33 | DEBUG_MSG (("[unused] stopped idle threads, %d remain, %d threads still exist", | ||