memo

concurrent

排他制御

Lock, Semaphore, synchronized の使い分け

(参考) https://coderanch.com/t/615796/java/reason-prefer-binary-Semaphore-Reentrant