Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully fix flapping semaphore test
There was a race condition on the $released variable. $t6 released the semaphore and only then set the $released variable to 1. It's possible that $t5 ackquired the semaphore and checked the $released variable between this release and set. So the test would fail because $released was still 0. First set the variable and then release the semaphore to fix the race.
- Loading branch information