shared channel
This is a implementation of multi-producer, multi-consumer channel in Rust.
Example
simple usage
use thread;
extern crate shared_channel;
use shared_channel;
Pre-forked web server
Please access http://localhost:5000.
Its response looks like Hello! I'm No.0.
The number shows ID of thread-pool's worker.
TODO
- implement
Reciver's stable API-
try_recv -
recv -
recv_timeout -
iter -
try_iter
-
- implement
shared_sync_channel