Sha256: aa233849117bdfe0adb777650436c3fc9b90f21ab55134f7f77ac9bdbc9f874b

Contents?: true

Size: 418 Bytes

Versions: 69

Compression:

Stored size: 418 Bytes

Contents

module V8
  module C
    # Shim to support the old style locking syntax. We don't currently
    # deprecate this because it might make a comeback at some point.
    #
    # to synchronize access to V8, and to associate V8 with this thread:
    #
    #     Locker() do
    #       #... interact with v8
    #     end
    def self.Locker
      lock = Locker.new
      yield
    ensure
      lock.delete
    end
  end
end

Version data entries

69 entries across 69 versions & 5 rubygems

Version Path
classiccms-0.5.13 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.12 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.11 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.10 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.9 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.8 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.7 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
therubyracer-0.10.2 lib/v8/c/locker.rb
therubyracer-0.10.2beta1 lib/v8/c/locker.rb
classiccms-0.5.6 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.5 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.2 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.1 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.0 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.4.2 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.4.1 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.4.0 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.3.9 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/therubyracer-0.10.1/lib/v8/c/locker.rb