summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-02-01 18:17:18 +0100
committerIvan Maidanski <ivmai@mail.ru>2012-02-03 17:37:45 +0100
commit320d5bc7df468202b3dc823d21142c2374e04e2d (patch)
tree6f7492c7252c6308ba287982f40bd846e6dfa2a1 /include
parentb0b41e11b3f305cda8dca12b0c69e5850a6993b1 (diff)
Refine GC_stackbottom description in gc.h
* include/gc.h (GC_stackbottom): Improve comment (add note for new client code).
Diffstat (limited to 'include')
-rw-r--r--include/gc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gc.h b/include/gc.h
index 8df0239..f460a63 100644
--- a/include/gc.h
+++ b/include/gc.h
@@ -286,7 +286,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 */