Reentrant Lock
Seems like this is more of a concept in Java.
https://stackoverflow.com/questions/17683575/binary-semaphore-vs-a-reentrantlock
Seems like this is more of a concept in Java.
https://stackoverflow.com/questions/17683575/binary-semaphore-vs-a-reentrantlock