poco/Foundation/src/Semaphore.cpp
Roger Meier b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00

48 lines
677 B
C++

//
// Semaphore.cpp
//
// $Id: //poco/1.4/Foundation/src/Semaphore.cpp#2 $
//
// Library: Foundation
// Package: Threading
// Module: Semaphore
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/Semaphore.h"
#if defined(POCO_OS_FAMILY_WINDOWS)
#include "Semaphore_WIN32.cpp"
#elif defined(POCO_VXWORKS)
#include "Semaphore_VX.cpp"
#else
#include "Semaphore_POSIX.cpp"
#endif
namespace Poco {
Semaphore::Semaphore(int n): SemaphoreImpl(n, n)
{
}
Semaphore::Semaphore(int n, int max): SemaphoreImpl(n, max)
{
}
Semaphore::~Semaphore()
{
}
} // namespace Poco