Hello,
Some time ago I wrote about a problem with ReleaseMutex. Very rarely ReleaseMutex could take up to N seconds to execute where N is timeout passed to WaitForXxx function waiting on the same mutex.
Recently I encounter with this problem again. Now two threads could hang on one on EnterCriticalSection(NtWaitForSingleObject) call and another one on LeaveCriticalSection(NtSetEventBoostPriority). This time threads was locked infinitely since EnterCriticalSection calls NtWaitForSingleObject with infinite timeout.
I still don’t know what is the reason of this (My hardware? Broken installation?). But I found out that installing SP1a solves the problem. Rolling back to clean WinXP Pro revives the problem again.
Best regards,
Alexey.
----- Original Message -----
From: Alexey Pakhunov
To: Windows System Software Devs Interest List
Sent: Tuesday, May 25, 2004 5:31 PM
Subject: [ntdev] Strange behaviour of ReleaseMutex/NtReleaseMutant/KeReleaseMutant
Hello.
Actually I’m writing a user-mode application but we struck the sutuation when it can be kernel problem indeed.