Why thread termination is illegal
⚓ Rust 📅 2025-07-09 👤 surdeus 👁️ 17Hello, why it would be UB to terminate the thread spawn spawned by thread::spawn (a 'static closure)?
As I see it, it would be equivalent to OS never scheduling the thread, that should be fine.
1 post - 1 participant
🏷️ rust_feed