⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (212 Bytes)
Bug #13794
» sched_yield_loop.rb
gregoryp (Gregory Potamianos)
, 09/29/2017 10:16 AM
require
'timeout'
1000
.
times
do
Timeout
::
timeout
(
3
)
do
cpid
=
Kernel
.
fork
do
mypid
=
Process
.
pid
Kernel
.
exec
(
*
[
'/bin/echo'
,
'executed'
,
"
#{
mypid
}
"
])
end
Process
.
waitpid2
(
cpid
)
end
end
« Previous
1
2
3
4
Next »
(4-4/4)
Loading...