Skip to main content

initialize_context

Function initialize_context 

Source
pub fn initialize_context(pool: Arc<ComputePool>, permits: Arc<Semaphore>)
Expand description

Initialize the thread-local compute context

This should be called from the Tokio runtime’s on_thread_start callback