Thread-local storage with `std::jthread`
Preventing data races with `std::jthread`
Using mutexes with `std::jthread`
Deadlock and how to avoid it with `std::jthread`
Understanding thread safety and race conditions