static ReentrantLock reentrantLock(bool fair) { ret new ReentrantLock(fair); }