Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ enqueue
Method
enqueue
valdi_core/src/valdi_core/cpp/Threading/TaskQueue.cpp:52–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
51
void TaskQueue::sync(const DispatchFunction& function) {
52
barrier(function);
53
}
54
55
void TaskQueue::async(DispatchFunction function) {
56
enqueue(std::move(function));
57
}
Callers
2
async
Method · 0.45
asyncAfter
Method · 0.45
Calls
3
notifyAll
Method · 0.80
now
Function · 0.50
onQueueNonEmpty
Method · 0.45
Tested by
no test coverage detected