Refine GC_stackbottom description in gc.h
authorIvan Maidanski <ivmai@mail.ru>
Wed, 1 Feb 2012 17:17:18 +0000 (21:17 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 1 Feb 2012 17:17:18 +0000 (21:17 +0400)
* include/gc.h (GC_stackbottom): Improve comment (add note for
new client code).

include/gc.h

index 212d175..ddb363a 100644 (file)
@@ -300,7 +300,10 @@ GC_API char *GC_stackbottom;    /* Cool end of user stack.              */
                                 /* automatically.                       */
                                 /* For multi-threaded code, this is the */
                                 /* cold end of the stack for the        */
-                                /* primordial thread.                   */
+                                /* primordial thread.  Portable clients */
+                                /* should use GC_get_stack_base(),      */
+                                /* GC_call_with_gc_active() and         */
+                                /* GC_register_my_thread() instead.     */
 
 GC_API int GC_dont_precollect;  /* Don't collect as part of GC          */
                                 /* initialization.  Should be set only  */