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
59e7685d
Kaydet (Commit)
59e7685d
authored
Eki 13, 2010
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Create an abstract interface to be used to implement a SolarMutex
üst
38ce15ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
mutex.hxx
sal/inc/osl/mutex.hxx
+23
-0
No files found.
sal/inc/osl/mutex.hxx
Dosyayı görüntüle @
59e7685d
...
...
@@ -247,6 +247,29 @@ namespace osl
typedef
Guard
<
Mutex
>
MutexGuard
;
typedef
ClearableGuard
<
Mutex
>
ClearableMutexGuard
;
typedef
ResettableGuard
<
Mutex
>
ResettableMutexGuard
;
/** SolarMutex interface, needed for SolarMutex.
Deprecated, used just for Application::GetSolarMutex().
*/
class
SolarMutex
{
public
:
/** Blocks if mutex is already in use
*/
virtual
void
SAL_CALL
acquire
()
=
0
;
/** Tries to get the mutex without blocking.
*/
virtual
sal_Bool
SAL_CALL
tryToAcquire
()
=
0
;
/** Releases the mutex.
*/
virtual
void
SAL_CALL
release
()
=
0
;
protected
:
SolarMutex
()
{}
virtual
~
SolarMutex
()
{}
};
}
#endif
/* __cplusplus */
...
...
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