Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e6e8a060
Kaydet (Commit)
e6e8a060
authored
Ara 19, 2014
tarafından
Tobias Madl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Timer: first independend idle use
Change-Id: I27985e456447ef3d71cae39c2acaf59b3aa60b83
üst
9e678c14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
svapp.cxx
vcl/source/app/svapp.cxx
+4
-1
timer.cxx
vcl/source/app/timer.cxx
+1
-1
No files found.
vcl/source/app/svapp.cxx
Dosyayı görüntüle @
e6e8a060
...
@@ -343,8 +343,11 @@ inline void ImplYield( bool i_bWait, bool i_bAllEvents )
...
@@ -343,8 +343,11 @@ inline void ImplYield( bool i_bWait, bool i_bAllEvents )
// run timers that have timed out
// run timers that have timed out
if
(
!
pSVData
->
mbNoCallTimer
)
if
(
!
pSVData
->
mbNoCallTimer
)
{
while
(
pSVData
->
mbNotAllTimerCalled
)
while
(
pSVData
->
mbNotAllTimerCalled
)
Timer
::
ImplTimerCallbackProc
(
!
i_bWait
);
Timer
::
ImplTimerCallbackProc
();
Timer
::
Timer
::
ProcessAllIdleHandlers
();
}
pSVData
->
maAppData
.
mnDispatchLevel
++
;
pSVData
->
maAppData
.
mnDispatchLevel
++
;
// do not wait for events if application was already quit; in that
// do not wait for events if application was already quit; in that
...
...
vcl/source/app/timer.cxx
Dosyayı görüntüle @
e6e8a060
...
@@ -151,7 +151,7 @@ void Timer::ImplTimerCallbackProc( bool idle )
...
@@ -151,7 +151,7 @@ void Timer::ImplTimerCallbackProc( bool idle )
// If the timer is not new, was not deleted, and if it is not in the timeout handler, then
// If the timer is not new, was not deleted, and if it is not in the timeout handler, then
// call the handler as soon as the time is up.
// call the handler as soon as the time is up.
if
(
(
pTimerData
->
mnTimerUpdate
<
pSVData
->
mnTimerUpdate
)
&&
if
(
(
pTimerData
->
mnTimerUpdate
<
pSVData
->
mnTimerUpdate
)
&&
!
pTimerData
->
mbDelete
&&
!
pTimerData
->
mbInTimeout
&&
(
!
pTimerData
->
mpTimer
->
mbIdle
||
idle
)
)
!
pTimerData
->
mbDelete
&&
!
pTimerData
->
mbInTimeout
&&
!
pTimerData
->
mpTimer
->
mbIdle
)
{
{
// time has expired
// time has expired
if
(
pTimerData
->
GetDeadline
()
<=
nTime
)
if
(
pTimerData
->
GetDeadline
()
<=
nTime
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment