2012-04-23 03:14:34 +02:00
|
|
|
//
|
|
|
|
// NamedMutex_Android.cpp
|
|
|
|
//
|
|
|
|
// $Id: //poco/1.4/Foundation/src/NamedMutex_Android.cpp#1 $
|
|
|
|
//
|
|
|
|
// Library: Foundation
|
|
|
|
// Package: Processes
|
|
|
|
// Module: NamedMutex
|
|
|
|
//
|
|
|
|
// Copyright (c) 2004-2011, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-23 03:14:34 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/NamedMutex_Android.h"
|
|
|
|
#include "Poco/Exception.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
|
|
|
|
|
|
NamedMutexImpl::NamedMutexImpl(const std::string&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
NamedMutexImpl::~NamedMutexImpl()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void NamedMutexImpl::lockImpl()
|
|
|
|
{
|
|
|
|
throw NotImplementedException("NamedMutex::lock() is not supported on Android");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool NamedMutexImpl::tryLockImpl()
|
|
|
|
{
|
|
|
|
throw NotImplementedException("NamedMutex::tryLock() is not supported on Android");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void NamedMutexImpl::unlockImpl()
|
|
|
|
{
|
|
|
|
throw NotImplementedException("NamedMutex::unlock() is not supported on Android");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace Poco
|