mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -61,7 +61,7 @@ class Foundation_API Mutex: private MutexImpl
|
||||
/// lock and unlock a mutex.
|
||||
{
|
||||
public:
|
||||
typedef Poco::ScopedLock<Mutex> ScopedLock;
|
||||
using ScopedLock = Poco::ScopedLock<Mutex>;
|
||||
|
||||
Mutex();
|
||||
/// creates the Mutex.
|
||||
@@ -116,7 +116,7 @@ class Foundation_API FastMutex: private FastMutexImpl
|
||||
/// lock and unlock a mutex.
|
||||
{
|
||||
public:
|
||||
typedef Poco::ScopedLock<FastMutex> ScopedLock;
|
||||
using ScopedLock = Poco::ScopedLock<FastMutex>;
|
||||
|
||||
FastMutex();
|
||||
/// creates the Mutex.
|
||||
@@ -175,7 +175,7 @@ class Foundation_API SpinlockMutex
|
||||
/// Works with the ScopedLock class.
|
||||
{
|
||||
public:
|
||||
typedef Poco::ScopedLock<SpinlockMutex> ScopedLock;
|
||||
using ScopedLock = Poco::ScopedLock<SpinlockMutex>;
|
||||
|
||||
SpinlockMutex();
|
||||
/// Creates the SpinlockMutex.
|
||||
@@ -221,7 +221,7 @@ class Foundation_API NullMutex
|
||||
/// Works with the ScopedLock class
|
||||
{
|
||||
public:
|
||||
typedef Poco::ScopedLock<NullMutex> ScopedLock;
|
||||
using ScopedLock = Poco::ScopedLock<NullMutex>;
|
||||
|
||||
NullMutex()
|
||||
/// Creates the NullMutex.
|
||||
|
||||
Reference in New Issue
Block a user