in reply to Re^3: Multithreads with an executable in the worker subroutine (fork (probably) won't help)
in thread Multithreads with an executable in the worker subroutine

This is logmsg and I don't think it's blocking anything.
sub logmsg {my $FH = $AKUtils::LOG || *STDOUT; print $FH "$0: ".(caller(1))[3].": @_\n";}
  • Comment on Re^4: Multithreads with an executable in the worker subroutine (fork (probably) won't help)
  • Download Code

Replies are listed 'Best First'.
Re^5: Multithreads with an executable in the worker subroutine (fork (probably) won't help)
by lskatz (Novice) on May 31, 2012 at 13:27 UTC
    Sorry, I replied anonymously, but that is indeed the logmsg subroutine. sub logmsg {my $FH = $AKUtils::LOG || *STDOUT; print $FH "$0: ".(caller(1))[3].": @_\n";}