aboutsummaryrefslogtreecommitdiffstats
path: root/thread_sync.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-03 15:17:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-03 15:17:25 +0000
commitaabd765f0bd2f1f29b86131c98de29dcc0c3153e (patch)
treecebdf3a14a6da48e405b342740b0fc3f77cf4138 /thread_sync.c
parentd4a642defc6d18e3c4c5c5cb50bb79b60407881a (diff)
downloadruby-aabd765f0bd2f1f29b86131c98de29dcc0c3153e.tar.gz
thread_sync.c: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
-rw-r--r--thread_sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_sync.c b/thread_sync.c
index 21b71702b4..6778e3baa9 100644
--- a/thread_sync.c
+++ b/thread_sync.c
@@ -1,4 +1,4 @@
-/* included by thraed.c */
+/* included by thread.c */
VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable;
VALUE rb_eClosedQueueError;
@@ -731,7 +731,7 @@ queue_do_push(VALUE self, VALUE obj)
* q = Queue.new
* Thread.new{
* loop{
- * e = q.deq; ... # braek with ClosedQueueError
+ * e = q.deq; ... # break with ClosedQueueError
* }
* }
* q.close(true)