vcl: use WT_EXECUTEINTIMERTHREAD for Timer Queue
Currently the timer callback is running on a separate thread, but that is unnecessary since it just does a PostMessage(). Every thread stack stack mysteriously eats 10M of VM apparently despite dumpbin -headers soffice.bin: "989680 size of stack reserve, 1000 size of stack commit" Change-Id: I6eac3f6fa45939cd5dbb3dfbec61f9a504bdaa8b
This commit is contained in:
parent
0597f3bb6b
commit
09196ca6ca
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ void ImplSalStartTimer( sal_uLong nMS, bool bMutex )
|
|||
if (pSalData->mnTimerId)
|
||||
ChangeTimerQueueTimer(NULL, pSalData->mnTimerId, nMS, nMS);
|
||||
else
|
||||
CreateTimerQueueTimer(&pSalData->mnTimerId, NULL, SalTimerProc, NULL, nMS, nMS, WT_EXECUTEDEFAULT);
|
||||
CreateTimerQueueTimer(&pSalData->mnTimerId, NULL, SalTimerProc, NULL, nMS, nMS, WT_EXECUTEINTIMERTHREAD);
|
||||
|
||||
pSalData->mnNextTimerTime = pSalData->mnLastEventTime + nMS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue