Thread: semaphore and monitors

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    12

    semaphore and monitors

    Hi,
    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.

    Thankyou

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    hmmmm, whats wrong with research and a bit of reading?
    http://en.wikipedia.org/wiki/Semaphore_(programming)

Popular pages Recent additions subscribe to a feed