12/27 tests failed - implemented priority for condition variables