mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
tests: Remove dead code from thread-pool-slow
This variable was never modified. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
This commit is contained in:
parent
0b45f6208b
commit
f0dbf6fe7c
@ -20,10 +20,6 @@ G_LOCK_DEFINE_STATIC (last_thread);
|
||||
|
||||
static guint last_thread_id = 0;
|
||||
|
||||
G_LOCK_DEFINE_STATIC (thread_counter_sort);
|
||||
|
||||
static gulong sort_thread_counter = 0;
|
||||
|
||||
static GThreadPool *idle_pool = NULL;
|
||||
|
||||
static GMainLoop *main_loop = NULL;
|
||||
@ -408,14 +404,6 @@ test_check_start_and_stop (gpointer user_data)
|
||||
G_UNLOCK (thread_counter_pools);
|
||||
}
|
||||
|
||||
if (test_number == 4 || test_number == 5) {
|
||||
G_LOCK (thread_counter_sort);
|
||||
quit &= sort_thread_counter <= 0;
|
||||
g_test_message ("***** POOL SORT THREAD COUNT:%ld",
|
||||
sort_thread_counter);
|
||||
G_UNLOCK (thread_counter_sort);
|
||||
}
|
||||
|
||||
if (test_number == 8) {
|
||||
guint idle;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user