MCPcopy Create free account
hub / github.com/bytedance/bolt / noMoreSources

Method noMoreSources

bolt/exec/ExchangeQueue.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void ExchangeQueue::noMoreSources() {
67 std::vector<ContinuePromise> promises;
68 {
69 std::lock_guard<std::mutex> l(mutex_);
70 noMoreSources_ = true;
71 promises = checkCompleteLocked();
72 }
73 clearPromises(promises);
74}
75
76void ExchangeQueue::close() {
77 std::vector<ContinuePromise> promises;

Callers 2

noMoreRemoteTasksMethod · 0.80
addSourcesMethod · 0.80

Calls

no outgoing calls

Tested by 1

addSourcesMethod · 0.64