Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bloomen/transwarp
/ execute
Method
execute
examples/single_thread_lock_free.cpp:33–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
void execute(const std::function<void()>& functor, tw::itask&) override {
34
std::lock_guard<std::mutex> lock{mutex_};
35
queue_.push(functor);
36
}
37
38
private:
39
Callers
nothing calls this directly
Calls
1
push
Method · 0.45
Tested by
no test coverage detected