Crates.io | shutdown-barrier |
lib.rs | shutdown-barrier |
version | 3.0.0 |
source | src |
created_at | 2022-12-12 22:20:38.52615 |
updated_at | 2023-01-10 05:26:16.896762 |
description | Runtime shutdown barrier for synchronizing TLS destruction |
homepage | |
repository | https://github.com/Bajix/async-local/ |
max_upload_size | |
id | 735259 |
size | 5,862 |
By utilizing a barrier to synchronize runtime threads during the destruction of thread local data, no tasks will outlive thread local data belonging to any worker thread, and all pointers to thread locals created within an async context and held therein will be of a valid lifetime.
See async-local