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 || POCO_OS == POCO_OS_ANDROID)
17#include "Mutex_POSIX.cpp"
18#else
19#include "Mutex_STD.cpp"
20#endif
21
22
23namespace Poco {
24
25
26Mutex::Mutex(MutexType type): MutexImpl((MutexTypeImpl) type)
27{
28}
29
30
31Mutex::~Mutex()
32{
33}
34
35
36FastMutex::FastMutex()
37{
38}
39
40
41FastMutex::~FastMutex()
42{
43}
44
45
46SpinlockMutex::SpinlockMutex()
47{
48}
49
50
51SpinlockMutex::~SpinlockMutex()
52{
53}
54
55
56} // namespace Poco
57