77_atomic_keyword_ops.toy (150B)
1 fn __user_main(): i64 { 2 var x: i64 = 47; 3 @atomic_rmw<i64>(.and, &x, 42, .seq_cst); 4 return x; 5 } 6 7 fn main(): i32 { return __user_main() as i32; }
kitkit | |
| git clone https://git.ryansepassi.com/git/kit.git | |
| Log | Files | Refs | README |