Semaphores

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sevak316
    New Member
    • Sep 2008
    • 73

    Semaphores

    Is there a type 'Semaphore' in windows or an equivalent?
  • Laharl
    Recognized Expert Contributor
    • Sep 2007
    • 849

    #2
    Have you tried searching Google or MSDN? Anyway, there are Semaphores, I'm pretty sure, as well as mutexes. For details, check out MSDN.

    Comment

    • RedSon
      Recognized Expert Expert
      • Jan 2007
      • 4980

      #3
      Yes semaphores exist in windows, both in native and managed code. MSDN will help you with that.

      Comment

      • sevak316
        New Member
        • Sep 2008
        • 73

        #4
        Thanks guys, but MSDN only gives me C++ examples.

        I need to find an example in C where it uses Semaphores and also calls to Wait() and Release() functions.

        Any suggestions?

        Comment

        • Laharl
          Recognized Expert Contributor
          • Sep 2007
          • 849

          #5
          This looks like C to me...

          Comment

          • sevak316
            New Member
            • Sep 2008
            • 73

            #6
            Sorry, right after I posted my reply, I found this page.
            Thank you.

            Sevak

            Comment

            Working...