зеркало из https://github.com/github/ruby.git
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:
Родитель
d4a642defc
Коммит
aabd765f0b
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче