MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / AckReadThread

Function AckReadThread

internal/utils/bfs/threads_limiter.go:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9var writeThreadsLimiter = make(chan zero.Zero, 8)
10
11func AckReadThread() {
12 readThreadsLimiter <- zero.Zero{}
13}
14
15func ReleaseReadThread() {
16 <-readThreadsLimiter

Callers 6

ReadAtMethod · 0.85
NewBlocksFileWithRawFileFunction · 0.85
OpenFileReaderMethod · 0.85
loadMethod · 0.85
WriteCloseMethod · 0.85
CompactMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected