windows - Mutex - create mutex and its details? -


a program creates mutex part of start-up. lifetime of mutex, how long exist? when destroyed?

since mutex can used globally other process requesting handle it, if program created mutex terminated whether mutex not terminated?

how long mutex stay in system? whether survives till reboot?

i using process explorer see mutex in system. there other way find mutex in system?

i have checked msdn links not information there, there other resource on internet check on mutex , lifetime?

the mutex lives long there exist handles it. when last handle mutex closed, mutex dies. in regard no different other object can shared across multiple processes.

the documentation createmutex says this:

the mutex object destroyed when last handle has been closed.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -