]> git.ipfire.org Git - pakfire.git/commit
worker: Initialize the event loop and cURL in the child process
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Oct 2024 14:20:37 +0000 (14:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Oct 2024 14:20:37 +0000 (14:20 +0000)
commit24fa8dcc1464444b52e5b4187a7e333cfd0fa46b
tree04559d04de301baed6ca52a75d61524f31d2276b
parent57ff381a1330bfc9ca6cea7b81ccdf1469d761ba
worker: Initialize the event loop and cURL in the child process

cURL is not multi-threaded and so to avoid any problems, we will
initialize everything in the forked child process.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/worker.c