Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ Done
Method
Done
base/util.go:1284–1286 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1282
}
1283
1284
func
(t *SafeTerminator) Done() <-
chan
struct
{} {
1285
return
t.terminator
1286
}
1287
1288
func
(t *SafeTerminator) Close() {
1289
if
t.terminatorClosed.CompareAndSwap(false, true) {
Callers
15
nodeWrites
Method · 0.80
csvStats
Function · 0.80
heapProfiling
Function · 0.80
mutexProfiling
Function · 0.80
blockProfiling
Function · 0.80
goroutineProfiling
Function · 0.80
vBucketGoroutine
Method · 0.80
syncSeqVBucketCreation
Method · 0.80
TestConcurrentSetConfig
Function · 0.80
TestConcurrentUserWrites
Function · 0.80
TestCacheRace
Function · 0.80
TestActiveChannelsConcurrency
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestConcurrentSetConfig
Function · 0.64
TestConcurrentUserWrites
Function · 0.64
TestCacheRace
Function · 0.64
TestActiveChannelsConcurrency
Function · 0.64
TestRangeSafeCollectionRange
Function · 0.64
TestConsoleIrregularLogPaths
Function · 0.64
TestTerminateAndWaitForClose
Function · 0.64
TestOneShotDCP
Function · 0.64
TestTerminateDCPFeed
Function · 0.64
TestConcurrentCBGTIndexCreation
Function · 0.64
TestBootstrapRefCounting
Function · 0.64
TestBlipPusherUpdateDatabase
Function · 0.64