I've played with crossbeam::epoch
the other day and I've got impression that it does not play nicely with async/await
because epoch is connected to a thread being in some epoch. With async, it becomes not possible to tell anymore that certain thread is in a certain epoch, or an "active" thread.
So, questions:
- Am I right about crossbeam::epoch working only with threads but not with async/futures?
- Would it be possible to implement epoch for Futures?
- Generally speaking, what is the landscape of lock-free structures in Rust as of today, and is there anything working with async/futures? Are there any ideas/work in progress/complete projects?