Skip to content
This repository
Browse code

Don't depend on rubygems loading thread (for Mutex)

  • Loading branch information...
commit d8692985feb4db9fe8d113549535b658fe6058e5 1 parent ee74f2c
James Tucker authored November 25, 2010 tenderlove committed November 25, 2010
1  activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
... ...
@@ -1,3 +1,4 @@
  1
+require 'thread'
1 2
 require 'monitor'
2 3
 require 'set'
3 4
 require 'active_support/core_ext/module/synchronization'
1  activerecord/test/cases/locking_test.rb
... ...
@@ -1,3 +1,4 @@
  1
+require 'thread'
1 2
 require "cases/helper"
2 3
 require 'models/person'
3 4
 require 'models/reader'
1  activesupport/lib/active_support/core_ext/module/synchronization.rb
... ...
@@ -1,3 +1,4 @@
  1
+require 'thread'
1 2
 require 'active_support/core_ext/module/aliasing'
2 3
 require 'active_support/core_ext/array/extract_options'
3 4
 
1  activesupport/test/core_ext/module/synchronization_test.rb
... ...
@@ -1,3 +1,4 @@
  1
+require 'thread'
1 2
 require 'abstract_unit'
2 3
 
3 4
 require 'active_support/core_ext/class/attribute_accessors'

0 notes on commit d869298

Please sign in to comment.
Something went wrong with that request. Please try again.