withLock

inline fun <T> ReentrantLock.withLock(action: () -> T): T