parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch] fix typo


From: Achim Gratz
Subject: [Patch] fix typo
Date: Sun, 21 May 2017 19:13:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

        Modified   src/parallel
diff --git a/src/parallel b/src/parallel
index bb410da..3440f86 100755
--- a/src/parallel
+++ b/src/parallel
@@ -5586,7 +5586,7 @@ sub compute_number_of_processes {
        my $self = shift;
        my $wanted_processes = shift;
        my $system_limit = 0;
-       my $slow_spawining_warning_printed = 0;
+       my $slow_spawning_warning_printed = 0;
        my $time = time;
        $more_filehandles = 1;
        $tmpfhname = "TmpFhNamE";
@@ -5629,13 +5629,13 @@ sub compute_number_of_processes {
            if($system_limit > 10 and
               $forktime > 1 and
               $forktime > $system_limit * 0.01
-              and not $slow_spawining_warning_printed) {
+              and not $slow_spawning_warning_printed) {
                # It took more than 0.01 second to fork a processes on avg.
                # Give the user a warning. He can press Ctrl-C if this
                # sucks.
                ::warning("Starting $system_limit processes took > $forktime 
sec.",
                          "Consider adjusting -j. Press CTRL-C to stop.");
-               $slow_spawining_warning_printed = 1;
+               $slow_spawning_warning_printed = 1;
            }
        }
        cleanup();


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




reply via email to

[Prev in Thread] Current Thread [Next in Thread]