* tests/test.c (run_one_test): Don't mention pthread_self().
* misc.c: Declare GC_thr_init().
+2008-02-20 Hans Boehm <Hans.Boehm@hp.com>
+
+ * tests/test.c (run_one_test): Don't mention pthread_self().
+ * misc.c: Declare GC_thr_init().
+
2008-02-20 Hans Boehm <Hans.Boehm@hp.com>
* allchblk.c (add_to_fl): disable assertions with USE_MUNMAP,
extern void GC_setpagesize();
-
#ifdef MSWIN32
extern GC_bool GC_no_win32_dlls;
#else
#endif
+#if defined(GC_PTHREADS) || defined(GC_WIN32_THREADS)
+ void GC_thr_init(void);
+#endif
+
void GC_init_inner()
{
# if !defined(THREADS) && defined(GC_ASSERTIONS)
}
# endif
if (GC_print_stats)
- GC_log_printf("Finished %x\n", pthread_self());
+ GC_log_printf("Finished %p\n", &start_time);
}
void check_heap_stats()