1 // 2 // NamedMutex_Android.cpp 3 // 4 // Library: Foundation 5 // Package: Processes 6 // Module: NamedMutex 7 // 8 // Copyright (c) 2004-2011, Applied Informatics Software Engineering GmbH. 9 // and Contributors. 10 // 11 // SPDX-License-Identifier: BSL-1.0 12 // 13 14 15 #include "Poco/NamedMutex_Android.h" 16 #include "Poco/Exception.h" 17 18 19 namespace Poco { 20 21 NamedMutexImpl(const std::string &)22NamedMutexImpl::NamedMutexImpl(const std::string&) 23 { 24 } 25 26 ~NamedMutexImpl()27NamedMutexImpl::~NamedMutexImpl() 28 { 29 } 30 31 lockImpl()32void NamedMutexImpl::lockImpl() 33 { 34 throw NotImplementedException("NamedMutex::lock() is not supported on Android"); 35 } 36 37 tryLockImpl()38bool NamedMutexImpl::tryLockImpl() 39 { 40 throw NotImplementedException("NamedMutex::tryLock() is not supported on Android"); 41 } 42 43 unlockImpl()44void NamedMutexImpl::unlockImpl() 45 { 46 throw NotImplementedException("NamedMutex::unlock() is not supported on Android"); 47 } 48 49 50 } // namespace Poco 51