def test_barrier(self, passes=1):
        results = [[],[]]
        def f():
            self.multipass(results, passes)
        self.run_threads(f)
Test that a barrier is passed in lockstep
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/lock_tests.py/BarrierTests.test_barrier