 
 //            print("testBarrierWithSemaphore() @ \(#line)")
 
-            for i in 0..<IterationsPerBarrierStage {
+            for _ in 0..<IterationsPerBarrierStage {
 //                print("testBarrierWithSemaphore() @ \(#line) (\(i+1)/\(self.IterationsPerBarrierStage)): v enter async {} -- postBarrierStage")
 
                 async {


//            print("testBarrierWithSemaphore() @ \(#line) -- entering function")

            for i in 0..<IterationsPerBarrierStage {
//                print("testBarrierWithSemaphore() @ \(#line) (\(i+1)/\(self.IterationsPerBarrierStage)): v enter async {} -- preBarrierStage")

                async {


//        print("testAsyncBarrierFunction() @ \(#line): v enter main test loop (will execute \(IterationsOfBarrierTest) times)")

        for _ in 0..<IterationsOfBarrierTest {
//            print("testAsyncBarrierFunction() @ \(#line) (\(i+1)/\(IterationsOfBarrierTest)): creating semaphore")

            let semaphore = NSCondition()
