This commit is contained in:
rakshasa
2026-07-26 09:14:39 +02:00
parent 41eef969ea
commit f9f19fb041
+1 -2
View File
@@ -112,8 +112,7 @@ main(int argc, char** argv) {
torrent::log_initialize(); torrent::log_initialize();
// TODO: Create a fake thread object for initializing other processes and enabling logging. torrent::runtime::initialize_worker_process_and_main_thread();
torrent::initialize_main_thread();
// Block SIGCHLD until all threads are created, then unblock on main-thread, to avoid SIGCHLD // Block SIGCHLD until all threads are created, then unblock on main-thread, to avoid SIGCHLD
// interrupting other threads. // interrupting other threads.