Ditch Thread::Semaphore and use a shared variable:
my $logSem : shared; ... { lock $logSem; print LOGFH ...; }
In reply to Re: many files one log file
by BrowserUk
in thread many files one log file
by glenn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |