aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Foundation/src/Semaphore.cpp
blob: 3403125bdccf163222596138d0cf673dc8549fc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// Semaphore.cpp
//
// 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