Skip to content

Commit

Permalink
Mutex const. -> Mtx
Browse files Browse the repository at this point in the history
  • Loading branch information
methodmissing committed Mar 18, 2009
1 parent f1ba4d5 commit 2e3399c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/callsite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Callsite
# associations ( coming soon ) referenced at the callsite.
#

Mutex = Mutex.new
Mtx = Mutex.new

attr_accessor :klass,
:signature,
Expand All @@ -22,7 +22,7 @@ def initialize( klass, signature )
# Flag a column as seen
#
def column!( column )
Mutex.synchronize do
Mtx.synchronize do
@columns << column
end
end
Expand All @@ -42,7 +42,7 @@ def preload( includes )
# Flag an association as seen
#
def association!( association )
Mutex.synchronize do
Mtx.synchronize do
@associations << association if preloadable_association?( association )
end
end
Expand Down

0 comments on commit 2e3399c

Please sign in to comment.