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.7.5 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.7.4 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.7.3 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.7.2 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.7.1 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.7.0 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.9 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.8 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.7 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.6 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.5 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.4 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.3 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.2 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.1 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.6.0 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.17 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.16 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.15 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb
classiccms-0.5.14 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/c/locker.rb