⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (223 Bytes)
Bug #11166
ยป 2.rb
cvss (Kirill Vechera)
, 05/21/2015 04:44 PM
require
'thread'
1000000
.
times
do
|
i
|
puts
"loop:
#{
i
}
"
t
=
Thread
.
new
{
system
(
'/nonexistent'
)
puts
"done"
sleep
}
sleep
0.000001
t
.
kill
t
.
join
# hang up forever on join if thread can't respond to kill
end
(1-1/1)
Loading...