[threads] Move thread describe code to mono_thread_internal_describe (#3590)
[mono.git] / mono / utils / mono-threads.h
index 493d44884ca49f564d9f9f057479bf082645848a..3091b1a17c9371a3976cee87a8c91769439c112d 100644 (file)
@@ -242,10 +242,8 @@ typedef struct {
        /* Stack mark for targets that explicitly require one */
        gpointer stack_mark;
 
-#if defined(_POSIX_VERSION) || defined(__native_client__)
-       /* This is the data that was stored in the w32 handle */
+       /* FIXME: move to MonoInternalThread */
        GPtrArray *owned_mutexes;
-#endif
 } MonoThreadInfo;
 
 typedef struct {
@@ -528,7 +526,6 @@ void mono_threads_platform_exit (int exit_code);
 HANDLE mono_threads_platform_open_thread_handle (HANDLE handle, MonoNativeThreadId tid);
 void mono_threads_platform_close_thread_handle (HANDLE handle);
 void mono_threads_platform_set_exited (THREAD_INFO_TYPE *info);
-void mono_threads_platform_describe (THREAD_INFO_TYPE *info, GString *text);
 void mono_threads_platform_own_mutex (THREAD_INFO_TYPE *info, gpointer mutex_handle);
 void mono_threads_platform_disown_mutex (THREAD_INFO_TYPE *info, gpointer mutex_handle);
 gpointer mono_threads_platform_duplicate_handle (THREAD_INFO_TYPE *info);
@@ -649,9 +646,6 @@ mono_thread_info_is_current (THREAD_INFO_TYPE *info);
 gpointer
 mono_thread_info_duplicate_handle (THREAD_INFO_TYPE *info);
 
-void
-mono_thread_info_describe (THREAD_INFO_TYPE *info, GString *text);
-
 void
 mono_thread_info_own_mutex (THREAD_INFO_TYPE *info, gpointer mutex_handle);