diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a2d7f99f..bcf9df84 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -285,7 +285,6 @@ jobs: libboost-locale1.71-dev \ libboost-log1.71-dev \ libboost-regex1.71-dev \ - libboost-thread1.71-dev \ libboost-program-options1.71-dev # Install cmake @@ -311,7 +310,6 @@ jobs: libboost-filesystem-dev \ libboost-locale-dev \ libboost-log-dev \ - libboost-thread-dev \ libboost-program-options-dev fi diff --git a/CMakeLists.txt b/CMakeLists.txt index ccca6fce..d9574c8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -906,7 +906,6 @@ elseif(UNIX) libboost-locale${Boost_VERSION}, \ libboost-log${Boost_VERSION}, \ libboost-program-options${Boost_VERSION}, \ - libboost-thread${Boost_VERSION}, \ libcap2, \ libcurl4, \ libdrm2, \ @@ -926,7 +925,6 @@ elseif(UNIX) boost-locale >= ${Boost_VERSION}, \ boost-log >= ${Boost_VERSION}, \ boost-program-options >= ${Boost_VERSION}, \ - boost-thread >= ${Boost_VERSION}, \ libcap >= 2.22, \ libcurl >= 7.0, \ libdrm >= 2.4.97, \ diff --git a/docker/debian-bullseye.dockerfile b/docker/debian-bullseye.dockerfile index 7c439618..0ba3fdf0 100644 --- a/docker/debian-bullseye.dockerfile +++ b/docker/debian-bullseye.dockerfile @@ -38,7 +38,6 @@ apt-get install -y --no-install-recommends \ libboost-locale-dev=1.74.* \ libboost-log-dev=1.74.* \ libboost-program-options-dev=1.74.* \ - libboost-thread-dev=1.74.* \ libcap-dev \ libcurl4-openssl-dev \ libdrm-dev \ diff --git a/docker/ubuntu-20.04.dockerfile b/docker/ubuntu-20.04.dockerfile index 5689ba71..3cb049ac 100644 --- a/docker/ubuntu-20.04.dockerfile +++ b/docker/ubuntu-20.04.dockerfile @@ -40,7 +40,6 @@ apt-get install -y --no-install-recommends \ libboost-locale-dev=1.71.* \ libboost-log-dev=1.71.* \ libboost-program-options-dev=1.71.* \ - libboost-thread-dev=1.71.* \ libcap-dev \ libcurl4-openssl-dev \ libdrm-dev \ diff --git a/docker/ubuntu-22.04.dockerfile b/docker/ubuntu-22.04.dockerfile index 143fc1e4..f007f267 100644 --- a/docker/ubuntu-22.04.dockerfile +++ b/docker/ubuntu-22.04.dockerfile @@ -39,7 +39,6 @@ apt-get install -y --no-install-recommends \ libboost-locale-dev=1.74.* \ libboost-log-dev=1.74.* \ libboost-program-options-dev=1.74.* \ - libboost-thread-dev=1.74.* \ libcap-dev \ libcurl4-openssl-dev \ libdrm-dev \ diff --git a/docs/source/building/linux.rst b/docs/source/building/linux.rst index 2f629efb..80dcd81d 100644 --- a/docs/source/building/linux.rst +++ b/docs/source/building/linux.rst @@ -19,7 +19,6 @@ Install Requirements libboost-locale-dev \ libboost-log-dev \ libboost-program-options-dev \ - libboost-thread-dev \ libcap-dev \ # KMS libcurl4-openssl-dev \ libdrm-dev \ # KMS @@ -100,7 +99,6 @@ Install Requirements libboost-filesystem-dev \ libboost-locale-dev \ libboost-log-dev \ - libboost-thread-dev \ libboost-program-options-dev \ libcap-dev \ # KMS libdrm-dev \ # KMS @@ -149,7 +147,6 @@ Install Requirements libboost-filesystem-dev \ libboost-locale-dev \ libboost-log-dev \ - libboost-thread-dev \ libboost-program-options-dev \ libcap-dev \ # KMS libdrm-dev \ # KMS diff --git a/src/input.cpp b/src/input.cpp index a9a38e2d..91f6ab81 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -10,6 +10,8 @@ extern "C" { } #include +#include +#include #include #include "config.h" @@ -19,9 +21,6 @@ extern "C" { #include "thread_pool.h" #include "utility.h" -#include -#include - using namespace std::literals; namespace input { @@ -738,7 +737,7 @@ namespace input { platf::gamepad(platf_input, gamepad.id, state); // Sleep for a short time to allow the input to be detected - boost::this_thread::sleep_for(boost::chrono::milliseconds(100)); + std::this_thread::sleep_for(std::chrono::milliseconds(100)); // Release Home button state.buttonFlags &= ~platf::HOME;