MCPcopy Create free account
hub / github.com/celzero/firestack / SetReader

Method SetReader

intra/log/memconsole.go:426–433  ·  view source on GitHub ↗

SetReader installs r as the consumer of the Memconsole's shared-memory buffers. Drain(fd, start, end) is called synchronously (but without mc.mu held) each time a buffer fills up or the periodic ticker fires; its return signals that the buffer is free for reuse.

(r MemReader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SetupConsoleFunction · 0.45
TestMemconsoleWriteReadFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestMemconsoleWriteReadFunction · 0.36