method

stat

ruby latest stable - Class: Rake::ThreadPool

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

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