Solved

Releasing a Mutex

Posted on 2002-05-09
3
190 Views
Last Modified: 2010-04-13
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?
0
Comment
Question by:paulca
  • 2
3 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 7001067
Reboot.
0
 

Author Comment

by:paulca
ID: 7001302
I should have said that rebooting is not an option here.
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 7001323
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

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now