mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-13 23:04:13 +00:00
wrap fork so we can drop priority in child processes
This commit is contained in:
1 parent
0995d133a6
commit
52eff9451c
8 files changed
+31
-11
No files matched your search
+1
-1
@@ -262,7 +262,7 @@ static void daemonize(int do_wait)
|
||||
}
|
||||
}
|
||||
|
||||
pid = fork();
|
||||
pid = switch_fork();
|
||||
|
||||
switch (pid) {
|
||||
case 0: /* child process */
|
||||
|
||||
Reference in new issue
Block a user