Remove mingw-std-threads from 3rd party deps and use native libs/headers instead (#7283)

* Remove mingw-std-threads from 3rd party deps

 and use native libs/headers instead

* switch MinGW to POSIX in CI
This commit is contained in:
FyiurAmron
2024-06-30 21:49:06 +02:00
committed by GitHub
parent 13a05b99d3
commit edf6bf8dfe
12 changed files with 7 additions and 61 deletions

View File

@@ -25,11 +25,7 @@
#ifndef LMMS_AUDIO_ENGINE_H
#define LMMS_AUDIO_ENGINE_H
#ifdef __MINGW32__
#include <mingw.mutex.h>
#else
#include <mutex>
#endif
#include <QThread>
#include <samplerate.h>

View File

@@ -31,17 +31,10 @@
#include <type_traits>
#include <vector>
#ifdef __MINGW32__
#include <mingw.condition_variable.h>
#include <mingw.future.h>
#include <mingw.mutex.h>
#include <mingw.thread.h>
#else
#include <condition_variable>
#include <future>
#include <mutex>
#include <thread>
#endif
namespace lmms {
//! A thread pool that can be used for asynchronous processing.