MCPcopy Create free account
hub / github.com/apache/thrift / Task

Method Task

lib/cpp/test/concurrency/TimerManagerTests.h:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 class Task : public Runnable {
40 public:
41 Task(Monitor& monitor, uint64_t timeout)
42 : _timeout(timeout),
43 _startTime(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now().time_since_epoch()).count()),
44 _endTime(0),
45 _monitor(monitor),
46 _success(false),
47 _done(false) {}
48
49 ~Task() override { std::cerr << this << '\n'; }
50

Callers

nothing calls this directly

Calls 2

nowFunction · 0.85
countMethod · 0.45

Tested by

no test coverage detected