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.
|
|---|
| 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 |