I am a bit confused with these two terms, semaphore and monitor.
Is it that in the case of semaphore, we have to ourself take care of synchronization whereas if we use monitors, the compiler takes care of it.
Is that correct ? If not, i will be highly thankful if you can
shed some light on it.