MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / setTime

Method setTime

source/MRViewer/MRAsyncTimer.cpp:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5{
6
7void AsyncTimer::setTime( const std::chrono::time_point<std::chrono::system_clock> & time )
8{
9 std::unique_lock lock( mutex_ );
10 time_ = time;
11 cvar_.notify_one();
12}
13
14bool AsyncTimer::setTimeIfNotSet( const std::chrono::time_point<std::chrono::system_clock> & time )
15{

Callers 1

requestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected