dragon.mpbridge.synchronize.DragonCondition

class DragonCondition[source]

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)[source]

Methods

__init__([lock])

notify([n])

notify_all()

wait([timeout])

wait_for(predicate[, timeout])

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