MCPcopy Create free account
hub / github.com/clementgallet/libTAS / startThreadedDelay

Method startThreadedDelay

src/library/DeterministicTimer.cpp:231–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void DeterministicTimer::startThreadedDelay()
232{
233 ThreadInfo* thread = ThreadManager::getCurrentThread();
234
235 if (isInsideFrameBoundary()) {
236 thread->startingFrameDelay = 0;
237 return;
238 }
239
240 thread->startingFrameDelay = framecount;
241}
242
243void DeterministicTimer::endThreadedDelay(struct timespec delayTicks)
244{

Callers 1

pthread_cond_timedwaitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected