OSDN Git Service

2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / boehm-gc / include / gc_local_alloc.h
index 1e58730..1874c7b 100644 (file)
@@ -33,6 +33,9 @@
  * -DTHREAD_LOCAL_ALLOC, which is currently supported only on Linux.
  *
  * The debugging allocators use standard, not thread-local allocation.
+ *
+ * These routines normally require an explicit call to GC_init(), though
+ * that may be done from a constructor function.
  */
 
 #ifndef GC_LOCAL_ALLOC_H
@@ -58,6 +61,7 @@ GC_PTR GC_local_malloc_atomic(size_t bytes);
 #endif
 
 # ifdef GC_DEBUG
+    /* We don't really use local allocation in this case.      */
 #   define GC_LOCAL_MALLOC(s) GC_debug_malloc(s,GC_EXTRAS)
 #   define GC_LOCAL_MALLOC_ATOMIC(s) GC_debug_malloc_atomic(s,GC_EXTRAS)
 #   ifdef GC_GCJ_SUPPORT