Function completeOne [src]
This is the same as calling start and then end on the returned Node. Thread-safe.
Prototype
pub fn completeOne(n: Node) void
Parameters
n: Node
Source
pub fn completeOne(n: Node) void {
const index = n.index.unwrap() orelse return;
const storage = storageByIndex(index);
_ = @atomicRmw(u32, &storage.completed_count, .Add, 1, .monotonic);
}