Comments (5)
It works if I set RAYON_NUM_THREADS=2
, so I think it's a jwalk
bug assuming the pool has at least two threads.
from dust.
Hmm, that sucks.
Good find.
I can reproduce this by setting RAYON_NUM_THREADS=1
I wonder if I can hack round this problem for now.
Thanks.
from dust.
I've looked at the jwalk code and I'm sure there's a multithreading edgecase bug in there but I can't see it.
I think I'll use the num_cpus
library to look for 1 CPU and force the threads=1 if it isn't set to something else. It's an ugly solution but I can't think of anything else,
What do you think @tavianator ?
from dust.
Fixed in new version.
from dust.
Yeah I think that workaround makes sense. It would have been fine to use 1 thread I think, rather than 2, since -t1
explicitly works fine.
from dust.
Related Issues (20)
- Select a file as baseline rather than total HOT 2
- Is this snapcraft official? HOT 2
- [WINDOWS]: The argument '--number-of-lines <number_of_lines>' cannot be used with '--depth <depth>' HOT 4
- Unable to skip a subfolder using -X HOT 4
- Path with spaces are not recognized (Windows) HOT 2
- How can I remove space at the first character HOT 4
- How can I ignore file sizes that are smaller than 100k HOT 5
- relocation error: symbol pthread_getattr_np, version GLIBC_2.2.5 not defined in file libpthread.so.0 with link time reference HOT 1
- Visiting directory with hard linked files produces unstable result HOT 2
- "Did not have permissions" message is shown even when all the arguments are files HOT 1
- panicked at 'called `Result::unwrap()` HOT 11
- ThreadPoolBuildError: Resource temporarily unavailable HOT 1
- Add flag to only display directories HOT 1
- Symlink support HOT 2
- Add flag to ignore hard links HOT 5
- Feature request: Ignore files by filter file HOT 1
- Add option to not limit number of lines in the report HOT 1
- Feature request: only list files and sort them by size HOT 2
- Play nicer with Screen Readers HOT 6
- dust got significantly slower with version 0.8.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dust.