X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-threads.h;h=f192dd70732e1e6fc42a06395bcad58941879ead;hb=62972f9afb0a9ef302ab9a34de6cd9c6cf643351;hp=a9160c9a25a68be06b5135c3125c3e808334ded3;hpb=4d84028bd8d48b06a1858854715145e44378e6bd;p=mono.git diff --git a/mono/utils/mono-threads.h b/mono/utils/mono-threads.h index a9160c9a25a..f192dd70732 100644 --- a/mono/utils/mono-threads.h +++ b/mono/utils/mono-threads.h @@ -142,13 +142,13 @@ typedef struct { /* Requires the world to be stoped */ -#define FOREACH_THREAD(thread) MONO_LLS_FOREACH (mono_thread_info_list_head (), thread) +#define FOREACH_THREAD(thread) MONO_LLS_FOREACH (mono_thread_info_list_head (), thread, SgenThreadInfo*) #define END_FOREACH_THREAD MONO_LLS_END_FOREACH /* Snapshot iteration. */ -#define FOREACH_THREAD_SAFE(thread) MONO_LLS_FOREACH_SAFE (mono_thread_info_list_head (), thread) +#define FOREACH_THREAD_SAFE(thread) MONO_LLS_FOREACH_SAFE (mono_thread_info_list_head (), thread, SgenThreadInfo*) #define END_FOREACH_THREAD_SAFE MONO_LLS_END_FOREACH_SAFE #define mono_thread_info_get_tid(info) ((MonoNativeThreadId)((MonoThreadInfo*)info)->node.key)