Module: Fairy::CBarrier::Mode

Included in:
CBarrierBuffer, CBarrierCond, CBarrierMode
Defined in:
lib/fairy/master/c-barrier.rb

Instance Method Summary collapse

Instance Method Details

#initialize(bbarrier, mode, *opts) ⇒ Object



81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/fairy/master/c-barrier.rb', line 81

def initialize(bbarrier, mode, *opts)
  @bbarrier = bbarrier
  @mode = mode
  @opts = opts.last
# Log::debug self, self.class.superclass.name
  begin
    super(*opts)
  rescue
    # for ruby 1.9.1
    super()
  end
end