2
0
Fork 0
OB-Xd/Modules/gin/utilities/systemsemaphore.h

30 lines
623 B
C++
Executable File

/*==============================================================================
Copyright 2018 by Roland Rabien
For more information visit www.rabiensoftware.com
==============================================================================*/
#pragma once
/*
* This is not finished / implemented
*/
class SystemSemaphore
{
public:
SystemSemaphore (const String& name);
~SystemSemaphore();
bool lock();
bool unlock();
bool isValid();
private:
class Impl;
std::unique_ptr<Impl> impl;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SystemSemaphore)
};