Sha256: ee859758d12190e4e7a75dbf0926212ca84814575290a168384a36bd45502998

Contents?: true

Size: 316 Bytes

Versions: 18

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'

Exception.__disable_sanitized_backtrace__ = true

t = Thread.new do
  async = Gyro::Async.new
  spin { async.await }
  sleep 100
end

sleep 0.5

Polyphony.fork do
  puts "forked #{Process.pid}"
  sleep 1
  puts "done sleeping"
end

sleep 50

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
polyphony-0.45.0 examples/core/xx-fork-cleanup.rb
polyphony-0.44.0 examples/core/xx-fork-cleanup.rb
polyphony-0.43.11 examples/core/xx-fork-cleanup.rb
polyphony-0.43.10 examples/core/xx-fork-cleanup.rb
polyphony-0.43.9 examples/core/xx-fork-cleanup.rb
polyphony-0.43.8 examples/core/xx-fork-cleanup.rb
polyphony-0.43.6 examples/core/xx-fork-cleanup.rb
polyphony-0.43.5 examples/core/xx-fork-cleanup.rb
polyphony-0.43.4 examples/core/xx-fork-cleanup.rb
polyphony-0.43.3 examples/core/xx-fork-cleanup.rb
polyphony-0.43.2 examples/core/xx-fork-cleanup.rb
polyphony-0.43.1 examples/core/xx-fork-cleanup.rb
polyphony-0.43 examples/core/xx-fork-cleanup.rb
polyphony-0.42 examples/core/xx-fork-cleanup.rb
polyphony-0.41 examples/core/xx-fork-cleanup.rb
polyphony-0.40 examples/core/xx-fork-cleanup.rb
polyphony-0.39 examples/core/xx-fork-cleanup.rb
polyphony-0.38 examples/core/xx-fork-cleanup.rb