MCPcopy Create free account
hub / github.com/baldurk/renderdoc / PingRemote

Method PingRemote

qrenderdoc/Code/ReplayManager.cpp:381–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void ReplayManager::PingRemote()
382{
383 if(!m_Remote)
384 return;
385
386 if(m_RemoteLock.tryLock(0))
387 {
388 if(!IsRunning() || m_Thread->isCurrentThread())
389 {
390 if(!m_Remote->Ping().OK())
391 m_RemoteHost.SetShutdown();
392 }
393 m_RemoteLock.unlock();
394 }
395}
396
397void ReplayManager::ReopenCaptureFile(const QString &path)
398{

Callers 1

messageCheckMethod · 0.80

Calls 4

isCurrentThreadMethod · 0.80
PingMethod · 0.45
SetShutdownMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected