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
03fc5edb
Kaydet (Commit)
03fc5edb
authored
Mar 20, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove newly unused framework::ThreadHelpBase
Change-Id: I75e7cfc8aa1f4e4e50a2e21c5f7596363594e179
üst
c641f300
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
67 deletions
+0
-67
propertysethelper.hxx
framework/inc/classes/propertysethelper.hxx
+0
-1
threadhelpbase.hxx
framework/inc/threadhelp/threadhelpbase.hxx
+0
-66
No files found.
framework/inc/classes/propertysethelper.hxx
Dosyayı görüntüle @
03fc5edb
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_PROPERTYSETHELPER_HXX
#define INCLUDED_FRAMEWORK_INC_CLASSES_PROPERTYSETHELPER_HXX
#include <threadhelp/threadhelpbase.hxx>
#include <threadhelp/transactionbase.hxx>
#include <general.h>
#include <stdtypes.h>
...
...
framework/inc/threadhelp/threadhelpbase.hxx
deleted
100644 → 0
Dosyayı görüntüle @
c641f300
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_FRAMEWORK_INC_THREADHELP_THREADHELPBASE_HXX
#define INCLUDED_FRAMEWORK_INC_THREADHELP_THREADHELPBASE_HXX
#include <threadhelp/lockhelper.hxx>
namespace
framework
{
/*-************************************************************************************************************
@short "baseclass" to make own classes threadsafe
@descr Sometimes you must share your lock- or mutex member with any other baseclasses.
And baseclasses are initialized erlier then members! That's why you should use
this struct as first of your baseclasses!!!
Then you will get a public member "m_aLock" which can be used by special guard implementations
to make your code threadsafe.
@seealso class LockHelper
@implements -
@base -
@devstatus ready to use
*//*-*************************************************************************************************************/
struct
ThreadHelpBase
{
// public methods
public
:
ThreadHelpBase
(
comphelper
::
SolarMutex
*
pSolarMutex
=
NULL
)
:
m_aLock
(
pSolarMutex
)
{
}
// public member
// Make it mutable for using in const functions!
public
:
mutable
LockHelper
m_aLock
;
};
}
// namespace framework
#endif // INCLUDED_FRAMEWORK_INC_THREADHELP_THREADHELPBASE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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