mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00:00
Yield execution in forked children back to PID 1
- Speeds up start-up a bit - Ensures the child is moved to its cgroup as soon as possible Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
d373068619
commit
c85e28b971
3 files changed
+9
-1
No files matched your search
@@ -26,6 +26,7 @@
|
||||
#define FINIT_HELPERS_H_
|
||||
|
||||
#include <mntent.h>
|
||||
#include <sched.h> /* sched_yield() */
|
||||
#include <stdarg.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in new issue
Block a user