From: Ivan Maidanski Date: Wed, 1 Feb 2012 17:17:18 +0000 (+0400) Subject: Refine GC_stackbottom description in gc.h X-Git-Tag: gc7_3alpha2~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f23295dc0a542b1367647f6b1263f1d93690764c;p=gc Refine GC_stackbottom description in gc.h * include/gc.h (GC_stackbottom): Improve comment (add note for new client code). --- diff --git a/include/gc.h b/include/gc.h index 212d175c..ddb363a4 100644 --- a/include/gc.h +++ b/include/gc.h @@ -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 */