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
f28db216
Kaydet (Commit)
f28db216
authored
Eyl 21, 2017
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: -Wunused-variable
Change-Id: I6bcc39cd749f8cdbe550b94346c5cb8fd9f67097
üst
6a4681b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
runinmain.hxx
vcl/inc/osx/runinmain.hxx
+3
-0
salinst.cxx
vcl/osx/salinst.cxx
+1
-0
No files found.
vcl/inc/osx/runinmain.hxx
Dosyayı görüntüle @
f28db216
...
@@ -77,6 +77,7 @@ union RuninmainResult
...
@@ -77,6 +77,7 @@ union RuninmainResult
}); \
}); \
aMutex->m_aInMainCondition.set(); \
aMutex->m_aInMainCondition.set(); \
osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \
osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \
(void) res; \
assert(osl::Condition::Result::result_ok == res); \
assert(osl::Condition::Result::result_ok == res); \
return; \
return; \
}
}
...
@@ -96,6 +97,7 @@ union RuninmainResult
...
@@ -96,6 +97,7 @@ union RuninmainResult
}); \
}); \
aMutex->m_aInMainCondition.set(); \
aMutex->m_aInMainCondition.set(); \
osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \
osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \
(void) res; \
assert(osl::Condition::Result::result_ok == res); \
assert(osl::Condition::Result::result_ok == res); \
return static_cast<type>( aMutex->m_aResult.pointer ); \
return static_cast<type>( aMutex->m_aResult.pointer ); \
}
}
...
@@ -115,6 +117,7 @@ union RuninmainResult
...
@@ -115,6 +117,7 @@ union RuninmainResult
}); \
}); \
aMutex->m_aInMainCondition.set(); \
aMutex->m_aInMainCondition.set(); \
osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \
osl::Condition::Result res = aMutex->m_aResultCondition.wait(); \
(void) res; \
assert(osl::Condition::Result::result_ok == res); \
assert(osl::Condition::Result::result_ok == res); \
return std::move( aMutex->m_aResult.member ); \
return std::move( aMutex->m_aResult.member ); \
}
}
...
...
vcl/osx/salinst.cxx
Dosyayı görüntüle @
f28db216
...
@@ -292,6 +292,7 @@ void SalYieldMutex::doAcquire( sal_uInt32 nLockCount )
...
@@ -292,6 +292,7 @@ void SalYieldMutex::doAcquire( sal_uInt32 nLockCount )
break
;
break
;
// wait for doRelease() or RUNINMAIN_* to set the condition
// wait for doRelease() or RUNINMAIN_* to set the condition
osl
::
Condition
::
Result
res
=
m_aInMainCondition
.
wait
();
osl
::
Condition
::
Result
res
=
m_aInMainCondition
.
wait
();
(
void
)
res
;
assert
(
osl
::
Condition
::
Result
::
result_ok
==
res
);
assert
(
osl
::
Condition
::
Result
::
result_ok
==
res
);
}
}
while
(
true
);
while
(
true
);
...
...
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