Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Why thread termination is illegal
Hello, 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