Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

138 Neutral

About dean_harding

  • Rank
  1. dean_harding

    Concurrency Nomenclature

    Under linux, using pthreads, there's a parameter you pass that tells the system whether you want the 'recusive' behaviour or not. On windows, every call to WaitForSingleObject requires a corresponding call to ReleaseMutex. If by "open" you were talking about the call to CreateMutex, then each call to CreateMutex returns a different handle (to the same object, assuming you're passing in the same name) and so you need to call CloseHandle on each one to close the actual underlying object.
  2. dean_harding

    Concurrency Nomenclature

    On windows, mutex objects allow multiple opens: Quote:From MSDN The thread that owns a mutex can specify the same mutex in repeated wait function calls without blocking its execution.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!