mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
Bug 6864 - drop realtime priority on ALL external processes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -440,6 +440,10 @@ static int spawn_mp3(struct mohclass *class)
|
||||
}
|
||||
if (!class->pid) {
|
||||
int x;
|
||||
|
||||
if (option_highpriority)
|
||||
ast_set_priority(0);
|
||||
|
||||
close(fds[0]);
|
||||
/* Stdout goes to pipe */
|
||||
dup2(fds[1], STDOUT_FILENO);
|
||||
|
||||
Reference in New Issue
Block a user