Skip to main content

Module worker_local

Module worker_local 

Source

Re-exportsยง

use std::fmt; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use crate::registry::Registry; ๐Ÿ”’
use crate::registry::WorkerThread; ๐Ÿ”’

Structsยง

CacheAligned ๐Ÿ”’
WorkerLocal
Holds worker-locals values for each thread in a thread pool. You can only access the worker local value through the Deref impl on the thread pool it was constructed on. It will panic otherwise