Title says it all, using a ReentrantLock, whats the difference between the lock unlock and using the condition with wait notify?
I know wait/notify is used with a condition, and inside a loop, is only that the difference?
How does the OS threats them differently?