mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
Add %fs info to the critical section timeout message.
This commit is contained in:
parent
18d817ab6d
commit
6178459f50
@ -190,11 +190,11 @@ NTSTATUS WINAPI RtlpWaitForCriticalSection( RTL_CRITICAL_SECTION *crit )
|
||||
DWORD res = WaitForSingleObject( sem, 5000L );
|
||||
if ( res == WAIT_TIMEOUT )
|
||||
{
|
||||
ERR("Critical section %p wait timed out, retrying (60 sec)\n", crit );
|
||||
ERR("Critical section %p wait timed out, retrying (60 sec) fs=%04x\n", crit, __get_fs() );
|
||||
res = WaitForSingleObject( sem, 60000L );
|
||||
if ( res == WAIT_TIMEOUT && TRACE_ON(relay) )
|
||||
{
|
||||
ERR("Critical section %p wait timed out, retrying (5 min)\n", crit );
|
||||
ERR("Critical section %p wait timed out, retrying (5 min) fs=%04x\n", crit, __get_fs() );
|
||||
res = WaitForSingleObject( sem, 300000L );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user