diff --git a/bin/feedGnuplot b/bin/feedGnuplot index 16a9d4f..3509d05 100755 --- a/bin/feedGnuplot +++ b/bin/feedGnuplot @@ -41,7 +41,7 @@ if($options{stream}) $dataQueue = Thread::Queue->new(); my $addThr = threads->create(\&mainThread); - my $plotThr = threads->create(\&plotThread); + my $plotThr = threads->create(\&plotUpdateThread); while(<>) { @@ -183,7 +183,7 @@ sub getGnuplotVersion return $gnuplotVersion; } -sub plotThread +sub plotUpdateThread { while(! $streamingFinished) {