⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (189 Bytes)
Bug #6634
» lol2.rb
mame (Yusuke Endoh)
, 11/06/2012 12:16 AM
#! /usr/bin/env ruby
require
'threadpool'
set_trace_func
(
proc
{
|*
a
|
p
[
Thread
.
current
,
a
]
})
t
=
ThreadPool
.
new
(
1
)
t
.
process
{
sleep
0.01
;
puts
'lol'
;
t
.
shutdown!
}
puts
'joining'
t
.
join
« Previous
1
2
3
4
5
6
Next »
(4-4/6)
Loading...