Flowdock
method

stat

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: ThreadPool
stat(event, data=nil) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.