thread_sync.c: fix typos

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-09-03 15:17:25 +00:00
parent d4a642defc
commit aabd765f0b

View File

@ -1,4 +1,4 @@
/* included by thraed.c */ /* included by thread.c */
VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable; VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable;
VALUE rb_eClosedQueueError; VALUE rb_eClosedQueueError;
@ -731,7 +731,7 @@ queue_do_push(VALUE self, VALUE obj)
* q = Queue.new * q = Queue.new
* Thread.new{ * Thread.new{
* loop{ * loop{
* e = q.deq; ... # braek with ClosedQueueError * e = q.deq; ... # break with ClosedQueueError
* } * }
* } * }
* q.close(true) * q.close(true)