mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-01 06:52:46 +01:00
fix(SocketProactor): use Poco::Mutex only
This commit is contained in:
parent
3a05640d21
commit
7ab016abcc
@ -201,13 +201,8 @@ private:
|
||||
/// If expiredOnly is true, only expired temporary functions
|
||||
/// are called.
|
||||
|
||||
#ifdef POCO_HAVE_STD_ATOMICS
|
||||
typedef Poco::SpinlockMutex MutexType;
|
||||
typedef Poco::Mutex MutexType;
|
||||
typedef MutexType::ScopedLock ScopedLock;
|
||||
#else
|
||||
typedef Poco::FastMutex MutexType;
|
||||
typedef MutexType::ScopedLock ScopedLock;
|
||||
#endif // POCO_HAVE_STD_ATOMICS
|
||||
|
||||
bool hasSocketHandlers();
|
||||
static const long DEFAULT_MAX_TIMEOUT_MS = 250;
|
||||
|
Loading…
x
Reference in New Issue
Block a user