summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 05:29:06 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 05:29:06 +0000
commit1f9fa7c62fe9ea241e5f20a84e749808b1875dd4 (patch)
tree08b53faad73d7ca7a66f6b297047f0b82fbc4a74
parent5feede6f3b0deaafed9e1f12bac330f90b68ffc3 (diff)
* thread.c: Document ThreadGroup::Default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--thread.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fb59025e2..c497a5aecf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Feb 20 14:28:00 2013 Zachary Scott <zachary@zacharyscott.net>
+
+ * thread.c: Document ThreadGroup::Default
+
Wed Feb 20 14:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
* thread.c: Grammar for #backtrace_locations and ::handle_interrupt
diff --git a/thread.c b/thread.c
index 66203bc449..d74356b879 100644
--- a/thread.c
+++ b/thread.c
@@ -3853,6 +3853,12 @@ static const rb_data_type_t thgroup_data_type = {
* were created.
*/
+/*
+ * Document-const: Default
+ *
+ * The default ThreadGroup created when Ruby starts; all Threads belong to it
+ * by default.
+ */
static VALUE
thgroup_s_alloc(VALUE klass)
{