| 1 | // |
| 2 | // Mutex.cpp |
| 3 | // |
| 4 | // Library: Foundation |
| 5 | // Package: Threading |
| 6 | // Module: Mutex |
| 7 | // |
| 8 | // Copyright (c) 2004-2008, Applied Informatics Software Engineering GmbH. |
| 9 | // and Contributors. |
| 10 | // |
| 11 | // SPDX-License-Identifier: BSL-1.0 |
| 12 | // |
| 13 | |
| 14 | |
| 15 | #include "Poco/Mutex.h" |
| 16 | #if (POCO_OS == POCO_OS_CYGWIN || defined(POCO_ANDROID)) |
| 17 | #include "Mutex_POSIX.cpp" |
| 18 | #else |
| 19 | #include "Mutex_STD.cpp" |
| 20 | #endif |
| 21 | |
| 22 | |
| 23 | namespace Poco { |
| 24 | |
| 25 | |
| 26 | Mutex::Mutex(MutexType type): MutexImpl((MutexTypeImpl) type) |
| 27 | { |
| 28 | } |
| 29 | |
| 30 | |
| 31 | Mutex::~Mutex() |
| 32 | { |
| 33 | } |
| 34 | |
| 35 | |
| 36 | FastMutex::FastMutex() |
| 37 | { |
| 38 | } |
| 39 | |
| 40 | |
| 41 | FastMutex::~FastMutex() |
| 42 | { |
| 43 | } |
| 44 | |
| 45 | |
| 46 | } // namespace Poco |
| 47 | |