Taiki Endo
Taiki Endo
This should be able to be implemented just by porting https://github.com/crossbeam-rs/crossbeam/pull/789 to channel.
(Given that Miri appears to be trying to move to TB in the long term, I don't see the need to rush to merge this.)
See https://crates.io/crates/crossbeam-skiplist for map/set in crossbeam. See crates mentioned in https://github.com/crossbeam-rs/rfcs/issues/32 for concurrent hashmap (crossbeam currently doesn't provide concurrent hashmap).
Closing due to inactivity. Perhaps the problem is that you are allocating a value to the stack that is larger than the stack size of the generated thread, which does...
bors r=Amanieu
Published https://crates.io/crates/crossbeam-skiplist/0.1.0
crossbeam's scope threads have been soft-deprecated in favor of the more efficient std::thread::scope that stabilized on Rust 1.63, so there are no plans to accept new APIs to it.
Published https://crates.io/crates/crossbeam-skiplist/0.1.0
One of the conditions for `AtomicCell` to use the atomic type is that `T` has at least the same alignment as the size. So you can use the `repr` attribute...
Closing in favor of https://github.com/tokio-rs/tokio/pull/5621 (which adopts the approach I mentioned in https://github.com/tokio-rs/tokio/pull/4513#pullrequestreview-886789943) for now. It is more robust and easy to maintain.