Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Mutex Objects, Semaphore Objects and Critical Section Objects

Mutex Objects, Semaphore Objects and Critical Section Objects

Scheduled Pinned Locked Moved C / C++ / MFC
design
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FlyingDancer
    wrote on last edited by
    #1

    These three ways can work well for multi-Threaded design. They must be some differnt in some aspects although They look very alike. Could you tell me the differnt between them, please! Thanks in advance!

    A B 2 Replies Last reply
    0
    • F FlyingDancer

      These three ways can work well for multi-Threaded design. They must be some differnt in some aspects although They look very alike. Could you tell me the differnt between them, please! Thanks in advance!

      A Offline
      A Offline
      Anand Paranjpe
      wrote on last edited by
      #2

      Hi, type "synchronization [Win32]" in MSDN u will get it what u want. The chosen One :)

      1 Reply Last reply
      0
      • F FlyingDancer

        These three ways can work well for multi-Threaded design. They must be some differnt in some aspects although They look very alike. Could you tell me the differnt between them, please! Thanks in advance!

        B Offline
        B Offline
        Blake Coverett
        wrote on last edited by
        #3

        Mutexes and Critical Sections are logically the same, but critical sections are cheaper/faster in exchange for only working within the same process. Semaphores are counters, they have a value that can be incremented and decremented. -- -Blake (com/bcdev/blake)

        F 1 Reply Last reply
        0
        • B Blake Coverett

          Mutexes and Critical Sections are logically the same, but critical sections are cheaper/faster in exchange for only working within the same process. Semaphores are counters, they have a value that can be incremented and decremented. -- -Blake (com/bcdev/blake)

          F Offline
          F Offline
          FlyingDancer
          wrote on last edited by
          #4

          Now I know about them to some extent. Thank you!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups