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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!