Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/foundationdb
/ ~ThreadSafeQueue
Method
~ThreadSafeQueue
flow/include/flow/ThreadSafeQueue.h:129–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
127
this->sleepy = false;
128
}
129
~ThreadSafeQueue() {
130
while (pop().present())
131
;
132
}
133
134
// If push() returns true, the consumer may be sleeping and should be woken
135
template <class U>
Callers
nothing calls this directly
Calls
2
pop
Function · 0.50
present
Method · 0.45
Tested by
no test coverage detected