Class: Fairy::CBarrier::CBarrierCond
- Inherits:
-
Object
- Object
- Fairy::CBarrier::CBarrierCond
- Extended by:
- Factory
- Includes:
- Mode
- Defined in:
- lib/fairy/master/c-barrier.rb
Direct Known Subclasses
CBarrierAllDataCond, CBarrierBlockCond, CBarrierDataArrivedCond, CBarrierNodeArrivedCond
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Factory
create, extended, init_fact, register_mode
Methods included from Mode
Class Method Details
.create(bbarrier, mode, opts = nil) ⇒ Object
138 139 140 141 142 143 144 145 |
# File 'lib/fairy/master/c-barrier.rb', line 138 def self.create(, mode, opts=nil) if mode.kind_of?(BlockSource) opts[:BLOCK_SOURCE] = mode super(, :BLOCK_COND, opts) else super(, mode, opts) end end |