From f23295dc0a542b1367647f6b1263f1d93690764c Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 1 Feb 2012 21:17:18 +0400 Subject: [PATCH] Refine GC_stackbottom description in gc.h * include/gc.h (GC_stackbottom): Improve comment (add note for new client code). --- include/gc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.40.0