edef1c / libfringe

a Rust library implementing safe, lightweight context switches, without relying on kernel services
https://edef1c.github.io/libfringe
Apache License 2.0
512 stars 31 forks source link

Allow Generator to have !Send inputs and outputs #55

Closed Amanieu closed 8 years ago

Amanieu commented 8 years ago

This isn't a complete solution, since the generator function is still required to be Send, but it's a good step towards allowing thread-local generators.