Code example for ReentrantLock

Methods: lock, newCondition, unlock