最新资讯

言栖资讯收录 162852 篇 AI、开发与建站文章(English),按发布时间排序,支持搜索与按语言筛选。

Sshole

Sshole

Article URL: https://sshhole.com Comments URL: https://news.ycombinator.com/item?id=50378228 Points: 117 # Comments: 16

EnglishHacker News
Why loom is happy with this?

Why loom is happy with this?

use loom::sync::Arc; use loom::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; loom::model(|| { let ptr = Box::into_raw(Box::new(0)); let flag = Arc::new(Ato…

EnglishRust Users Forum