method
stat
v2_1_10 -
Show latest stable
- Class:
Rake::ThreadPool
stat(event, data=nil)private
No documentation available.
# File lib/rake/thread_pool.rb, line 139
def stat(event, data=nil) # :nodoc:
return if @history_start_time.nil?
info = {
:event => event,
:data => data,
:time => Time.now,
:thread => Thread.current.object_id,
}
@history_mon.synchronize { @history << info }
end