Structsยง
- Represents a list of threads which can access worker locals.
- Registry
Data ๐ - Registry
Id ๐A pointer to theRegistryDatawhich uniquely identifies a registry. This identifier can be reused if the registry gets freed. - Thread
Data ๐ - Holds worker local values for each possible thread in a registry. You can only access the worker local value through the
Derefimpl on the registry associated with the thread it was created on. It will panic otherwise.
Constantsยง
- REGISTRY ๐The registry associated with the thread. This allows the
WorkerLocaltype to clone the registry in its constructor. - THREAD_
DATA ๐A thread local which contains the identifier ofREGISTRYbut allows for faster access. It also holds the index of the current thread.