summaryrefslogtreecommitdiff
path: root/pthread_support.c
diff options
context:
space:
mode:
authorivmai <ivmai>2011-03-13 13:28:29 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:56 +0200
commit35260b7ff2dc15a5194758ab6f3c73fbfb40acb3 (patch)
tree0a9151a42a3358c02baff0823a236b867da76777 /pthread_support.c
parentdd7e62d18a06b7b12084e5db795ac9d43a366341 (diff)
2011-03-13 Ivan Maidanski <ivmai@mail.ru>
* finalize.c (GC_register_finalizer_inner): Fix a typo in a comment. *include/private/gcconfig.h (STACKBOTTOM): Ditto. * gcj_mlc.c (GC_core_gcj_malloc): Replace 0/1 with TRUE/FALSE in EXPECT (the 2nd argument). * malloc.c (GC_core_malloc_atomic, GC_core_malloc, GC_free): Ditto. * mark.c (GC_mark_and_push, GC_mark_and_push_stack): Ditto. * thread_local_alloc.c (GC_malloc, GC_malloc_atomic): Ditto. * include/private/gc_hdrs.h (HC_GET_HDR): Ditto. * include/private/gc_priv.h (SMALL_OBJ): Ditto. * include/private/specific.h (getspecific): Ditto. * pthread_support.c (LOCK_STATS): Add a comment.
Diffstat (limited to 'pthread_support.c')
-rw-r--r--pthread_support.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pthread_support.c b/pthread_support.c
index d72bb65..2cd012d 100644
--- a/pthread_support.c
+++ b/pthread_support.c
@@ -1601,6 +1601,7 @@ GC_INNER volatile GC_bool GC_collecting = 0;
/* explicitly sleep. */
/* #define LOCK_STATS */
+/* Note that LOCK_STATS requires AO_HAVE_test_and_set. */
#ifdef LOCK_STATS
AO_t GC_spin_count = 0;
AO_t GC_block_count = 0;