forkbreak / fork_break

Fork with breakpoints, for testing multiprocess behaviour.
MIT License
61 stars 6 forks source link

Allow wait function to take timeout parameter #2

Closed remen closed 9 years ago

remen commented 12 years ago

To be able to replace

process.run_until(:foo) && sleep(0.1)

with

process.run_until(:foo).wait(:timeout => 0.1)