src/parallel: exec sleep fails on qnx.

This commit is contained in:
Ole Tange 2015-04-21 03:15:31 +02:00
parent fb41b2384c
commit 63d2736740

View file

@ -4571,10 +4571,8 @@ sub compute_number_of_processes {
# The child takes one process slot # The child takes one process slot
# It will be killed later # It will be killed later
$SIG{TERM} = $Global::original_sig{TERM}; $SIG{TERM} = $Global::original_sig{TERM};
# Exec 'sleep' to save RAM sleep 10000000;
# 32000 seconds should be plenty, and should be supported exit(0);
# on all platforms.
exec("sleep","32000");
} else { } else {
# Failed to spawn # Failed to spawn
$max_system_proc_reached = 1; $max_system_proc_reached = 1;