Releasing a Mutex

I have run into a problem where I had a script that created a mutex but it died abnormally and the mutexes
were never released or destroyed.  The process is no longer active but the mutexes still exist.  Is there a utility that will allow me to destroy the mutex?
paulcaAsked:
Who is Participating?
 
jhanceConnect With a Mentor Commented:
You have no other options.  Mutexes are owned by the process that created them, there is no way to get a handle to a mutex that has been "orphaned" by a process that died without releasing it.

Other than consuming your resources and possibly causing a problem with resources if you accumulate a large number of them, this is something you'll just have to live with until a reboot happens.
0
 
jhanceCommented:
Reboot.
0
 
paulcaAuthor Commented:
I should have said that rebooting is not an option here.
0
All Courses

From novice to tech pro — start learning today.