📰 2026-04-12 00:30 更新
🔸 Surelock: Deadlock-Free Mutexes for Rust / Surelock : Rust的无死锁互斥体
🔗 Surelock: Deadlock-Free Mutexes for Rust
🔥 36 points
原文:
Hello r/rust! Thank you for the interest in this work and for the delightful conversation ❤️ I hate deadlocks. Maybe you do too. Back at Fission, whenever someone would suggest a mutex we’d start a chant of “I say mutex, you say deadlock: Mutex! DEADLOCK! Mutex! DEADLOCK!“. Deadlocks lurk — perfectly invisible in code review, happy to pass CI a thousand times, then lock your system up at 3am under a request pattern that no one anticipated. They have their own tradeoffs, but I miss TVars from …
译文:
您好, r/rust !感谢您对这项工作的关注,以及❤️我讨厌僵局的愉快谈话。或许你也是。回到裂变,每当有人建议一个互斥时,我们就会开始吟唱“我说互斥,你说死锁:互斥!死锁!互斥体!死锁!“。死锁潜伏—在代码审查中完全不可见,很高兴通过CI一千次,然后在凌晨3点以没有人预料的请求模式锁定您的系统。他们h 避免他们自己的权衡,但我想念来自…的TVars
自动更新 · 正文抓取 · 双语翻译