diff options
| author | mitchmindtree <mitchell.nordine@gmail.com> | 2016-07-08 22:12:36 +1000 |
|---|---|---|
| committer | mitchmindtree <mitchell.nordine@gmail.com> | 2016-07-08 22:12:36 +1000 |
| commit | 8aeb9303e954502f67f4af7c5c7e79f6d4f706eb (patch) | |
| tree | f20307a74b668d186f9747d22d77b66695e6bf1d /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 9b4e2a5b2d410318051a38e6b7da10b45975d022 (diff) | |
| download | rust-8aeb9303e954502f67f4af7c5c7e79f6d4f706eb.tar.gz rust-8aeb9303e954502f67f4af7c5c7e79f6d4f706eb.zip | |
add a non blocking iterator for the mpsc::Receiver
Currently, the `mpsc::Receiver` offers methods for receiving values in both blocking (`recv`) and non-blocking (`try_recv`) flavours. However only blocking iteration over values is supported. This commit adds a non-blocking iterator to complement the `try_recv` method, just as the blocking iterator complements the `recv` method.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
