dean_harding

Members
  • Content count

    40
  • Joined

  • Last visited

Community Reputation

138 Neutral

About dean_harding

  • Rank
    Member
  1. 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. 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.