diff options
author | hboehm <hboehm> | 2008-02-20 23:27:57 +0100 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 19:06:42 +0200 |
commit | ded8d688b3a1ac6dd17026c0aff9cc8e5ff69f52 (patch) | |
tree | ef0fe9f4b3ee2fd2529f01b66445033bd5c9f4d9 | |
parent | b381c0a0d59bb2cffde9a8a6f4919c5454ac9e84 (diff) |
2008-02-20 Hans Boehm <Hans.Boehm@hp.com>gc7_1alpha3-20080220
* tests/test.c (run_one_test): Don't mention pthread_self().
* misc.c: Declare GC_thr_init().
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | misc.c | 5 | ||||
-rw-r--r-- | tests/test.c | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,10 @@ 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, and refine assertions to handle huge unmergable blocks. (GC_allochblk_nth): Add comment. @@ -423,7 +423,6 @@ void GC_init(void) extern void GC_setpagesize(); - #ifdef MSWIN32 extern GC_bool GC_no_win32_dlls; #else @@ -468,6 +467,10 @@ static void maybe_install_looping_handler() #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) diff --git a/tests/test.c b/tests/test.c index 7013078..059eb10 100644 --- a/tests/test.c +++ b/tests/test.c @@ -1208,7 +1208,7 @@ void run_one_test() } # 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() |