summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-14 02:21:51 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-14 02:21:51 +0000
commitf8601bd903d6c9f288fc39cc9f277c1275291ff3 (patch)
tree3898a86583c86fe193605119783d52a9b0ef2610 /thread_pthread.c
parente9e603145f48f352b08541187a7c4d528f8a6399 (diff)
* eval.c: Add doxygen comments.
* ruby.c: ditto. * thread_pthread.c: ditto * version.c: ditto. * vm_core.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 02ff18517c..06769bd293 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -581,6 +581,10 @@ extern void *STACK_END_ADDRESS;
#endif
#undef ruby_init_stack
+/* Set stack bottom of Ruby implementation.
+ *
+ * You must call this function before any heap allocation by Ruby implementation.
+ * Or GC will break living objects */
void
ruby_init_stack(volatile VALUE *addr
#ifdef __ia64