summaryrefslogtreecommitdiff
path: root/win32_threads.c
diff options
context:
space:
mode:
authorivmai <ivmai>2011-05-31 11:09:34 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:59 +0200
commit26442e871507167317ebbc13feafca164354cf7d (patch)
tree6598665a034ebfa0cb32806b06feb9bb693e6e3d /win32_threads.c
parent66289a86c874bd64660d9a5b49f2759c8096f429 (diff)
2011-05-31 Ivan Maidanski <ivmai@mail.ru>
* win32_threads.c (GC_unregister_my_thread): Use KNOWN_FINISHED() instead of FINISHED macro. * tests/test.c (check_heap_stats): Round up max_heap_sz value for Win32 (same as for USE_MMAP).
Diffstat (limited to 'win32_threads.c')
-rw-r--r--win32_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32_threads.c b/win32_threads.c
index 68752fa..15b4b15 100644
--- a/win32_threads.c
+++ b/win32_threads.c
@@ -776,7 +776,7 @@ GC_API int GC_CALL GC_unregister_my_thread(void)
LOCK();
# if defined(THREAD_LOCAL_ALLOC) || defined(GC_PTHREADS)
me = GC_lookup_thread_inner(thread_id);
- GC_ASSERT(!(me -> flags & FINISHED));
+ GC_ASSERT(!KNOWN_FINISHED(me));
# endif
# if defined(THREAD_LOCAL_ALLOC)
GC_destroy_thread_local(&(me->tlfs));