// when I release my single read lock, thread #1 always
// should be the
// next to get the lock as it is preferred over the main
// thread
// that only waits for a read lock
cb.waitForTurn(6);
synchronized (manager.getLock(res1)) {
cb.signalTurn(7);
manager.readLock(owner3, res1);
}
synchronized (this) {