Method: Fairy::Processor#initialize
- Defined in:
- lib/fairy/processor.rb
#initialize(id) ⇒ Processor
Returns a new instance of Processor.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/fairy/processor.rb', line 57 def initialize(id) @id = id @reserve = 0 @services = {} @ntasks = [] @ntask_seq = -1 @ntask_seq_mutex = Mutex.new @njob_mon = FiberMon.new init_varray_feature init_ntask_status_feature end |