Skip to content

Instantly share code, notes, and snippets.

View YexuanXiao's full-sized avatar
🎯
Focusing

YexuanXiao YexuanXiao

🎯
Focusing
View GitHub Profile
@YexuanXiao
YexuanXiao / thread_pool.hpp
Last active June 6, 2024 13:17
thread pool (near completion)
#include <algorithm>
#include <vector>
#include <thread>
#include <coroutine>
#include <compare>
#include <semaphore>
#include <atomic>
#include <mutex>
#include <exception>
#include <array>