method
stat
ruby latest stable - Class:
Rake::ThreadPool
stat(event, data=nil)private
No documentation available.
# File lib/rake/thread_pool.rb, line 146
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