Comments (1)
Test output with the debugging uncommented:
running 1 test
p0: 0
p0: 1
p0: 2
p0: 3
p0: 4
p0: 5
p0: 6
p0: 7
p1: 0 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: send(0)
p1: 1 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: send(1)
p1: 2 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: send(2)
p1: 3 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: send(3)
p1: 4 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: 5 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: send(4)
p1: send(5)
p1: 6 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: 7 -=- ThreadPool { name: Some("multi join pool0"), queued_count: 0, active_count: 0, max_count: 4 }
p1: send(6)
p1: send(7)
test test::test_multi_join ... FAILED
failures:
---- test::test_multi_join stdout ----
thread 'test::test_multi_join' panicked at src/lib.rs:1111:9:
assertion `left == right` failed
left: Ok(0)
right: Err(Empty)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
test::test_multi_join
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 20 filtered out; finished in 0.00s
error: test failed, to rerun pass `--lib`
from rust-threadpool.
Related Issues (20)
- Limit job-pool size HOT 5
- Shutdown threads gracefully HOT 4
- Why not remove trait FnBox ? HOT 1
- Possible memory leak HOT 2
- Question on panicking threads HOT 3
- v2.0 status? HOT 3
- The unit test ```test_shrink``` make no sense HOT 2
- API breaking changes proposal HOT 5
- Mention rayon's threadpool in 'similar libraries' section
- [libz blitz] Missing categories and keywords in Cargo.toml
- [libz blitz] Missing hyperlinks in documentation
- libz bliz tracking issues HOT 2
- Default number of workers: Look at the affinity mask instead of the number of CPUs? HOT 2
- Documentation? HOT 1
- Feature: split thread pool from work queue HOT 1
- Use sync_channel to limit the size of job queue? HOT 3
- SYNC is not implemented for ThreadPool HOT 5
- Feature: provide a way to shutdown the thread pool HOT 3
- Hardcoded constant in example 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 rust-threadpool.