semaphore and monitors

This is a discussion on semaphore and monitors within the C Programming forums, part of the General Programming Boards category; Hi, I am a bit confused with these two terms, semaphore and monitor. Is it that in the case of ...

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21