Run pthread_atfork only once

Close #7704
This commit is contained in:
topjohnwu
2024-01-25 00:17:05 -08:00
parent b44141ae39
commit f2c4288d2d
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -433,6 +433,7 @@ static void daemon_entry() {
register_poll(&main_socket_pfd, handle_request);
// Loop forever to listen for requests
init_thread_pool();
poll_loop();
}