Is there any way to forcibly destroy a mutex?
Let's suppose I have a log file that I'm writing to. I have code in the
write that creates a mutex. But some program somewhere hasn't released it
yet. So after waiting a while (5 seconds let's say) I write to the file
anyway. (I figure it can't have taken that long.)
Problem is, the next time I try to write to the log file, I have to wait
that same 5 seconds because the mutex is still around. But I don't want
everybody waiting for it.
Is there any way to delete the mutex when you don't own it?
TIA - Jeff.