Removed old poll creation calls.

This commit is contained in:
rakshasa
2025-05-27 10:18:02 +02:00
committed by Jari Sundell
parent 46e94259e8
commit 5fb61b2857
5 changed files with 0 additions and 58 deletions
-15
View File
@@ -55,19 +55,4 @@ private:
std::atomic_int m_loop_count{0};
};
void set_create_poll();
// TODO: Need better cleanup here.
// TODO: Replace these with class that holds the threads and cleans them up on destruction.
#define SETUP_THREAD_DISK() \
auto thread_test = test_thread::create(); \
thread_test->init_thread(); \
torrent::ThreadDisk::create_thread(); \
torrent::thread_disk()->init_thread(); \
torrent::thread_disk()->start_thread();
#define CLEANUP_THREAD_DISK() \
torrent::ThreadDisk::destroy_thread();
#endif