mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 01:39:18 +02:00
put debug message under ifdef
git-svn-id: trunk@8475 -
This commit is contained in:
parent
ab74ec8969
commit
aaeb3b393d
@ -303,9 +303,11 @@ var
|
||||
retVal, index: dword;
|
||||
Begin
|
||||
repeat
|
||||
{$ifdef DEBUG_ASYNCEVENTS}
|
||||
if Length(FWaitHandles) > 0 then
|
||||
DebugLn('[ProcessMessages] WaitHandleCount=,', IntToStr(FWaitHandleCount),
|
||||
'WaitHandle[0]=', IntToHex(FWaitHandles[0], 8));
|
||||
DebugLn('[ProcessMessages] WaitHandleCount=', IntToStr(FWaitHandleCount),
|
||||
', WaitHandle[0]=', IntToHex(FWaitHandles[0], 8));
|
||||
{$endif}
|
||||
retVal := Windows.MsgWaitForMultipleObjects(FWaitHandleCount,
|
||||
FWaitHandles[0], false, 0, QS_ALLINPUT);
|
||||
if (WAIT_OBJECT_0 <= retVal) and (retVal < WAIT_OBJECT_0 + FWaitHandleCount) then
|
||||
|
Loading…
Reference in New Issue
Block a user