Created
October 10, 2017 07:32
-
-
Save glowacki-dev/485dda07ca3e730c8ce2672369472219 to your computer and use it in GitHub Desktop.
Forking in Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4.times do |i| | |
fork do | |
... | |
end | |
end | |
Process.waitall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment