aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--thread.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 310a7e362a..cab245149d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 30 06:23:28 2011 Eric Hodel <drbrain@segment7.net>
+
+ * thread.c (ruby_thread_s_pass): Fix typo.
+
Thu Jun 30 06:16:53 2011 Eric Hodel <drbrain@segment7.net>
* lib/rdoc: Update to RDoc 3.8 which contains fixes for documentation
diff --git a/thread.c b/thread.c
index 13e3e6ecba..5ba711c5c5 100644
--- a/thread.c
+++ b/thread.c
@@ -1240,11 +1240,11 @@ ruby_thread_has_gvl_p(void)
}
/*
- * call-seq:
- * Thread.pass -> nil
+ * call-seq:
+ * Thread.pass -> nil
*
- * Take the thrad scheduler a hint to pass execution to another thread.
- * A running thread may or may not switch. It depend on OS and processor.
+ * Give the thread scheduler a hint to pass execution to another thread.
+ * A running thread may or may not switch, it depends on OS and processor.
*/
static VALUE