Created
July 30, 2023 11:47
-
-
Save fxn/e4c50e5548e8f0c2d3fd4527fad010f8 to your computer and use it in GitHub Desktop.
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
threads = [] | |
5.times do | |
threads << Thread.new { | |
p require 'date' | |
} | |
end | |
threads.each(&:join) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment