| ... | ... | @@ -450,7 +450,7 @@ pub const Node = struct { |
| 450 | 450 | const ipc = @atomicLoad(Ipc, ipc_ptr, .monotonic); |
| 451 | 451 | if (ipc.locked or ipc.valid) continue; |
| 452 | 452 | const generation = ipc.generation +% 1; |
| 453 | | if (@cmpxchgWeak( |
| 453 | if (@cmpxchgStrong( |
| 454 | 454 | Ipc, |
| 455 | 455 | ipc_ptr, |
| 456 | 456 | ipc, |
| ... | ... | @@ -1133,7 +1133,7 @@ fn serialize(io: Io, serialized_buffer: *Serialized.Buffer) !Serialized { |
| 1133 | 1133 | const ipc_data = &serialized_buffer.ipc_data[ipc_index.slot]; |
| 1134 | 1134 | state: switch (ipc_data.state) { |
| 1135 | 1135 | .unused => { |
| 1136 | | if (@cmpxchgWeak( |
| 1136 | if (@cmpxchgStrong( |
| 1137 | 1137 | Ipc, |
| 1138 | 1138 | ipc, |
| 1139 | 1139 | .{ .locked = false, .valid = true, .generation = ipc_index.generation }, |