doomsday-clock

Crates.iodoomsday-clock
lib.rsdoomsday-clock
version0.8.0
sourcesrc
created_at2022-11-28 05:51:39.418168
updated_at2023-01-03 06:23:37.716793
descriptionAsync runtime shutdown safety test. Handle with care
homepage
repositoryhttps://github.com/Bajix/async-local/
max_upload_size
id724141
size36,794
Thomas Sieverding (Bajix)

documentation

README

Doomsday Clock

The validity of async-local is predicated upon the guarantee that for a given runtime to be supported, shutdown sequencing ensures no tasks be dropped by thread local destructors. So long as this is the case, async-local can synchronize runtime thread drops in a way that guarantees LocalRef and RefGuard never outlive the Context for which they point to. Doomsday Clock is an async runtime shutdown test specifically designed to panic should shutdown not be sequenced in a way that will avoid dangling references using the techniques outlined within async-local.

Commit count: 84

cargo fmt