30#ifndef LMMS_SEMAPHORE_H
31#define LMMS_SEMAPHORE_H
33#include "lmmsconfig.h"
35#ifdef LMMS_BUILD_APPLE
36# include <mach/mach.h>
37#elif defined(LMMS_BUILD_WIN32)
40# include <semaphore.h>
81#ifdef LMMS_BUILD_APPLE
83#elif defined(LMMS_BUILD_WIN32)
Semaphore(Semaphore &&)=delete
~Semaphore()
Definition LmmsSemaphore.cpp:115
Semaphore(const Semaphore &)=delete
Semaphore & operator=(const Semaphore &)=delete
Semaphore(unsigned initial)
Definition LmmsSemaphore.cpp:108
sem_t m_sem
Definition LmmsSemaphore.h:86
void wait()
Definition LmmsSemaphore.cpp:125
bool tryWait()
Definition LmmsSemaphore.cpp:135
void post()
Definition LmmsSemaphore.cpp:120
Semaphore & operator=(Semaphore &&)=delete
Definition AudioAlsa.cpp:35
void * HANDLE
Definition swell-types.h:212