Relative Content

Tag Archive for rustrust-tokiocrossbeam

Communication between Tokio and non Tokio threads in Rust

I’ve got an application that has some long-running code. The code snippets are not ideal for tokio threads, as they block. Trying to migrate them to a tokio_blocking pool has not yielded the performance I was looking for, so I’m trying to leverage a mix of std::threads and work in the tokio runtime (which is the majority of the work).