dragon.mpbridge.synchronize.DragonCondition

class DragonCondition

Bases: Condition

A condition co-located on the same node by default as the creating process

This implementation removes all references to _semlock and the test for assert_spawning. The _semlock interface is mapped onto Dragon’s native Lock implementation.

__init__(lock=None, *, ctx)

Methods

__init__([lock])

notify([n])

notify_all()

wait([timeout])

wait_for(predicate[, timeout])

__init__(lock=None, *, ctx)
notify(n=1)
notify_all()
wait(timeout=None)
wait_for(predicate, timeout=None)