Add %fs info to the critical section timeout message.

This commit is contained in:
Joerg Mayer 2000-12-22 20:28:46 +00:00 committed by Alexandre Julliard
parent 18d817ab6d
commit 6178459f50
1 changed files with 2 additions and 2 deletions

View File

@ -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 );
}
}