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
commit6537041e8960e020f1ad00b7e643e9963d417cbe (patch)
treecebdf3a14a6da48e405b342740b0fc3f77cf4138 /thread_sync.c
parent20af7d40303ac25c50ec152cc954c9884b142670 (diff)
downloadruby-6537041e8960e020f1ad00b7e643e9963d417cbe.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)