Skip to content

Commit

Permalink
thread_sync.c: fix typos
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Sep 3, 2015
1 parent d4a642d commit aabd765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit aabd765

Please sign in to comment.