in reply to Re^2: Perl threads - parallel run not working
in thread Perl threads - parallel run not working

Surely File::find would be unsafe due to shared OS interaction (perhaps a shared stat buf (for "-f _" etc) or shared dir read buffer

You are probably right; you usually are.

I tried File::FInd from threads once about 7 or 8 years ago and found it to not be thread-safe. I took a brief scan inside, found it to be incredibly complex and decided that given its reliance upon global variables and other similar stuff that it wasn't worth the effort to look any further. I've never used or looked at it since.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
  • Comment on Re^3: Perl threads - parallel run not working

Replies are listed 'Best First'.
Re^4: Perl threads - parallel run not working
by aaron.schweitzer (Novice) on Sep 16, 2015 at 05:52 UTC

    Thanks Dave and BrowserUk for your insights.
    Will update if I get some progress on this soon