From 47a4a0b343ed0289d562aef98f3aa339174f7fd0 Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Wed, 5 Jun 2013 17:35:20 -0400 Subject: [PATCH] Kill unused func mono_threads_is_shutting_down. --- mono/metadata/threads-types.h | 1 - mono/metadata/threads.c | 15 --------------- 2 files changed, 16 deletions(-) diff --git a/mono/metadata/threads-types.h b/mono/metadata/threads-types.h index dc1eb41879f..8d49c52c3f7 100644 --- a/mono/metadata/threads-types.h +++ b/mono/metadata/threads-types.h @@ -184,7 +184,6 @@ void mono_thread_init_apartment_state (void) MONO_INTERNAL; void mono_thread_cleanup_apartment_state (void) MONO_INTERNAL; void mono_threads_set_shutting_down (void) MONO_INTERNAL; -gboolean mono_threads_is_shutting_down (void) MONO_INTERNAL; gunichar2* mono_thread_get_name (MonoInternalThread *this_obj, guint32 *name_len) MONO_INTERNAL; diff --git a/mono/metadata/threads.c b/mono/metadata/threads.c index 666f6b2cf91..0b80496c43e 100644 --- a/mono/metadata/threads.c +++ b/mono/metadata/threads.c @@ -2894,21 +2894,6 @@ mono_threads_set_shutting_down (void) } } -/** - * mono_threads_is_shutting_down: - * - * Returns whether a thread has commenced shutdown of Mono. Note that - * if the function returns FALSE the caller must not assume that - * shutdown is not in progress, because the situation might have - * changed since the function returned. For that reason this function - * is of very limited utility. - */ -gboolean -mono_threads_is_shutting_down (void) -{ - return shutting_down; -} - void mono_thread_manage (void) { struct wait_data wait_data; -- 2.11.4.GIT