• Julien Muchembled's avatar
    Rewrite of scheduler for threaded tests · 7025db52
    Julien Muchembled authored
    The previous implementation was built around a 'pending' global variable that
    was set by a few monkey-patches when some network activity was pending between
    nodes. All this is replaced by an extra epoll object is used to wait for nodes
    that have pending network events: this is simpler, and faster since it
    significantly reduces the number of context switches.
    7025db52
testReplication.py 17.3 KB