Hacker News new | past | comments | ask | show | jobs | submit login

Ah, I see, I wasn't aware that a panic in a child task no longer panicked the parent task. That was surely the case in older versions of Rust, but I have no idea when it changed. Thanks for the RFC!



Well it can't just panic the "parent" - the parent is an arbitrary thread running so you'd have to find a way to inject faults into the parent. I'm guessing with Rust's older task system, you could handle it there, since you owned the scheduler?

With the new, threads-only system, I think the only way out is abort.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: