summaryrefslogtreecommitdiff
path: root/src/rollback.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/rollback.zig')
-rw-r--r--src/rollback.zig12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/rollback.zig b/src/rollback.zig
index d87671e6..79b8202e 100644
--- a/src/rollback.zig
+++ b/src/rollback.zig
@@ -140,18 +140,6 @@ pub const Epoch = struct {
_ = e.live.remove(addr);
}
- /// What is allocated and freed until `unpause` is no copy's: a delta
- /// written into a replica's terminal while a copy is held (an emulator
- /// is the authority's, outside every copy, and must outlive a rollback).
- pub fn pause(e: *Epoch) bool {
- defer e.on = false;
- return e.on;
- }
-
- pub fn unpause(e: *Epoch, was: bool) void {
- e.on = was;
- }
-
fn begin(e: *Epoch) void {
std.debug.assert(!e.on);
e.id +%= 1;