• Julien Muchembled's avatar
    Fix occasional deadlocks in threaded tests · 0b93b1fb
    Julien Muchembled authored
    deadlocks mainly happened while stopping a cluster, hence the complete review
    of NEOCluster.stop()
    
    A major change is to make the client node handle its lock like other nodes
    (i.e. in the polling thread itself) to better know when to call
    Serialized.background() (there was a race condition with the test of
    'self.poll_thread.isAlive()' in ClientApplication.close).
    0b93b1fb
__init__.py 30 KB