mirror of
https://github.com/LMMS/lmms.git
synced 2026-06-09 14:46:21 -04:00
23 lines
410 B
C++
23 lines
410 B
C++
#pragma once
|
|
|
|
#include <thread>
|
|
|
|
#include "NiftyCounter.h"
|
|
|
|
#if defined(__MINGW32__) && !defined(_GLIBCXX_HAS_GTHREADS)
|
|
# include "mingw-std-threads/thread"
|
|
# include "mingw-std-threads/mutex"
|
|
#endif
|
|
|
|
namespace _cdslib
|
|
{
|
|
void init();
|
|
void deinit();
|
|
void thread_init();
|
|
void thread_deinit();
|
|
|
|
static NiftyCounter<init, deinit> _counter;
|
|
static NiftyCounterTL<thread_init, thread_init> _thread_counter;
|
|
}
|
|
|