#pragma once #include #include #include #include "Utils/ThreadPool.hpp" namespace bumbleBee { class ThreadManager : public ThreadPool { public: bool addMusic(std::shared_ptr music, dpp::discord_voice_client* client); void stopSending(dpp::snowflake gid); private: // GID, 쓰레드 std::unordered_map threadPool; // GID, 쓰레드 종료 std::unordered_map terminating; }; }