Module threading

Module threading 

Source

Modulesยง

thread_primitives
This module provides all of the primitives needed to build a multithreaded application.
threading_functions
This module contains a few helper.
threading_macros
Main API for interacting with the threading back end. Remember, we use tokio as our executor. This means that by default, all jobs sent to the thread pool have to be async in nature. These macros make handling of these jobs at the sync/async boundary more convenient.