threading_spec.rb 195 B

12345678910111213
  1. require 'spec_helper'
  2. describe "using v8 from multiple threads" do
  3. it "is possible" do
  4. Thread.new do
  5. require 'v8'
  6. V8::Context.new
  7. end.join
  8. V8::Context.new
  9. end
  10. end