MCPcopy Create free account
hub / github.com/Naios/continuable / resolve

Function resolve

test/threads/test-threads.cpp:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include <future>
27
28void resolve(std::promise<int> p) { p.set_value(0); }
29
30int main(int, char**) {
31 std::promise<int> p;

Callers 1

mainFunction · 0.85

Calls 1

set_valueMethod · 0.45

Tested by

no test coverage detected