1
0
mirror of https://github.com/pocoproject/poco.git synced 2025-03-05 20:49:00 +01:00

fix(SocketProactor): use Poco::Mutex only

This commit is contained in:
Alex Fabijanic 2021-09-01 22:20:04 +02:00
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;