Commit Graph

9 Commits

Author SHA1 Message Date
klensy c76d032f01 setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
Mara Bos f23e76e0d2 Allow spawning threads after TLS destruction. 2025-03-19 12:49:18 +01:00
Mara Bos 691796be03 Update doc comments for spawn hook. 2024-11-19 18:55:52 +01:00
Mara Bos b96f023dbd Address review comments.
Co-authored-by: waffle <waffle.lapkin@gmail.com>
2024-11-19 18:55:52 +01:00
Mara Bos 38b9a448c9 Fix tracking issue. 2024-11-19 18:54:21 +01:00
Mara Bos 5a80b48fe1 Use Send + Sync for spawn hooks. 2024-11-19 18:54:20 +01:00
Mara Bos f2bf9e198e Add thread Builder::no_hooks(). 2024-11-19 18:54:20 +01:00
Mara Bos 947354fbec Update thread spawn hooks.
1. Make the effect thread local.
2. Don't return a io::Result from hooks.
2024-11-19 18:54:20 +01:00
Mara Bos 7ac4c04731 Add std::thread::add_spawn_hook. 2024-11-19 18:54:20 +01:00