MCPcopy Create free account
hub / github.com/COVESA/vsomeip / start

Method start

test/unit_tests/endpoint_tests/test_timer.cpp:65–65  ·  view source on GitHub ↗

Because the timer has a thread-safe interface, the shared_ptr to the timer is const, and the task is setup is ensured in a dedicated create function there is no need for synchronization primitives when using the timer itself.

Source from the content-addressed store, hash-verified

63 // Because the timer has a thread-safe interface, the shared_ptr to the timer is const, and the task is setup is ensured
64 // in a dedicated create function there is no need for synchronization primitives when using the timer itself.
65 void start() { timer_->start(); }
66 void stop() { timer_->stop(); }
67
68 std::atomic<uint32_t> counter_{0};

Callers 8

TESTFunction · 0.45
TEST_FFunction · 0.45
startMethod · 0.45
create_serverMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
restartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected