mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Removed dead code.
This commit is contained in:
committed by
Klaus Basan
parent
60144ad7b1
commit
1d02975e4c
@@ -1,23 +0,0 @@
|
||||
/* Copyright (C) 2015
|
||||
* swift project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "lockfree.h"
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Private
|
||||
{
|
||||
// this is only needed for GCC <= 4.9, but we define it for all compilers to avoid warning about empty cpp file
|
||||
QMutex *atomicSharedPtrMutex()
|
||||
{
|
||||
static QMutex mutex(QMutex::Recursive);
|
||||
return &mutex;
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -38,14 +38,6 @@ namespace BlackMisc
|
||||
template <typename>
|
||||
class LockFree;
|
||||
|
||||
namespace Private
|
||||
{
|
||||
//! \cond PRIVATE
|
||||
//! \private
|
||||
BLACKMISC_EXPORT QMutex *atomicSharedPtrMutex();
|
||||
//! \endcond
|
||||
}
|
||||
|
||||
/*!
|
||||
* Return value of LockFree::read(). Allows any one thread to safely read from the lock-free object.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user