diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-26 23:54:49 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-26 23:54:49 +0000 |
commit | aed384f343e14e046e09b20fa082037da0ef06a0 (patch) | |
tree | 7ded56c9d9a92313cdd4ad451f771d94cfbb5695 /lib/thread.rb | |
parent | 74a8074e4cfde002f6cb9d3c43fe053b98baccfa (diff) |
* backport r33086 from trunk.
* ext/pathname/lib/pathname.rb: Fix typos and grammar mistakes. Patch
by Luke Gruber. [#5203]
* ext/pty/lib/expect.rb: ditto
* lib/mathn.rb: ditto
* lib/net/http.rb: ditto
* lib/open-uri.rb: ditto
* lib/ostruct.rb: ditto
* lib/tempfile.rb: ditto
* lib/thread.rb: ditto
* lib/weakref.rb: ditto
* sample/webrick/httpproxy.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thread.rb')
-rw-r--r-- | lib/thread.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.rb b/lib/thread.rb index 22dba2dd79..58c4f6b9e6 100644 --- a/lib/thread.rb +++ b/lib/thread.rb @@ -94,7 +94,7 @@ class ConditionVariable # Wakes up all threads waiting for this lock. # def broadcast - # TODO: imcomplete + # TODO: incomplete waiters0 = nil @waiters_mutex.synchronize do waiters0 = @waiters.dup @@ -144,7 +144,7 @@ class Queue def initialize @que = [] @waiting = [] - @que.taint # enable tainted comunication + @que.taint # enable tainted communication @waiting.taint self.taint @mutex = Mutex.new |