Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mono/utils/mono-threads.c')
-rw-r--r--mono/utils/mono-threads.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mono/utils/mono-threads.c b/mono/utils/mono-threads.c
index b9526aa5fba..b1d5da9b917 100644
--- a/mono/utils/mono-threads.c
+++ b/mono/utils/mono-threads.c
@@ -15,7 +15,6 @@
#define _DARWIN_C_SOURCE
#endif
-#include <mono/metadata/mempool.h>
#include <mono/utils/mono-compiler.h>
#include <mono/utils/mono-semaphore.h>
#include <mono/utils/mono-threads.h>
@@ -327,8 +326,6 @@ register_thread (MonoThreadInfo *info, gpointer baseptr)
info->stack_start_limit = staddr;
info->stack_end = staddr + stsize;
- info->stackdata = g_byte_array_new ();
-
mono_threads_platform_register (info);
/*
@@ -390,8 +387,6 @@ unregister_thread (void *arg)
mono_thread_info_suspend_unlock ();
- g_byte_array_free (info->stackdata, /*free_segment=*/TRUE);
-
/*now it's safe to free the thread info.*/
mono_thread_hazardous_free_or_queue (info, free_thread_info, TRUE, FALSE);
mono_thread_small_id_free (small_id);