Skip to content

DMS 2016

Just another Kyoung Shin Park’s Lectures Sites site

Recent Posts

  • 성적공시
  • Java Monitor
  • Mutex, Semaphore, Monitor
  • Monitor (Synchronization)
  • lecture7

Recent Comments

    Archives

    • June 2016
    • May 2016
    • April 2016
    • March 2016

    Categories

    • Lecture Note
    • Project
    • Readings&Presentations
    • Uncategorized

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

    Semaphore

    Using binary semaphore (same as Mutex) for 1 shared resource

    thread-binary-semaphore

     

    Using binary semaphore (same as Mutex) ticket seller for 1 shared resource (ticket counter) and 4 sellers

    thread-binary-semaphore -ticketSeller

     

    Using semaphore for reader/writer problem (1 writer & 2 readers) sharing 5 integer buffers

    thread-semaphore-readerWriter

     

     

     

    Posted on May 24, 2016October 3, 2019Author kparkCategories Project

    Post navigation

    Previous Previous post: Microsoft C++ Synchronization Object
    Next Next post: Shared Memory & Mutex
    Proudly powered by WordPress