GraphMutationEpoch
Description
Structural-mutation counter. Bumped by node/edge insertions, deletions, and commits; traversal helpers snapshot it to detect concurrent mutation.
Parameters
| Name | Direction | Description |
|---|---|---|
g |
in | Graph to query. |
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Graph.Type.c:26:
VecBegin(&graph.pending_edge_removals) == NULL && GraphCopyInit(&graph) == NULL &&
GraphCopyDeinit(&graph) == NULL && graph.pending_delete_count == 0 &&
GraphMutationEpoch(&graph) == 0 && GraphAllocator(&graph)->alignment == 1;
GraphDeinit(&graph);
Last updated on