asomers/futures-locks

Replace tokio::runtime::current_thread with tokio::task::LocalSet

Closed this issue · 0 comments

Tokio 0.2.0 removed runtime::current_thread. The suggested replacement is task::LocalSet. However, there is as of yet no way to use a LocalSet from within an asynchronous environment. Until that is fixed, futures-locks is cannot upgrade to tokio 0.2.0.

tokio-rs/tokio#1906