mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-19 20:32:15 +01:00
b0581433a7
fix: remove executable flag and change back to 100644 (was 100755) Signed-off-by: Roger Meier <r.meier@siemens.com>
48 lines
810 B
C++
48 lines
810 B
C++
//
|
|
// NamedMutex.cpp
|
|
//
|
|
// $Id: //poco/1.4/Foundation/src/NamedMutex.cpp#2 $
|
|
//
|
|
// Library: Foundation
|
|
// Package: Processes
|
|
// Module: NamedMutex
|
|
//
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#include "Poco/NamedMutex.h"
|
|
|
|
|
|
#if defined(POCO_OS_FAMILY_WINDOWS) && defined(POCO_WIN32_UTF8)
|
|
#include "NamedMutex_WIN32U.cpp"
|
|
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
|
#include "NamedMutex_WIN32.cpp"
|
|
#elif defined(POCO_ANDROID)
|
|
#include "NamedMutex_Android.cpp"
|
|
#elif defined(POCO_OS_FAMILY_UNIX)
|
|
#include "NamedMutex_UNIX.cpp"
|
|
#else
|
|
#include "NamedMutex_VMS.cpp"
|
|
#endif
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
NamedMutex::NamedMutex(const std::string& name):
|
|
NamedMutexImpl(name)
|
|
{
|
|
}
|
|
|
|
|
|
NamedMutex::~NamedMutex()
|
|
{
|
|
}
|
|
|
|
|
|
} // namespace Poco
|