You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Implement cached thread pool
This commit is contained in:
@@ -185,6 +185,6 @@ void start_log_daemon() {
|
||||
int fds[2];
|
||||
if (pipe2(fds, O_CLOEXEC) == 0) {
|
||||
logd_fd = fds[1];
|
||||
new_daemon_thread([fd = fds[0]] { logfile_writer(fd); });
|
||||
exec_task([fd = fds[0]] { logfile_writer(fd); });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user