MCPcopy Create free account
hub / github.com/cinder/Cinder / configureWatchPolling

Method configureWatchPolling

src/cinder/FileWatcher.cpp:355–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void FileWatcher::configureWatchPolling()
356{
357 if( mConnectToAppUpdateEnabled && ! mConnectionAppUpdate.isConnected() && app::AppBase::get() )
358 connectAppUpdate();
359
360 if( ! mThread.joinable() ) {
361 mThreadShouldQuit = false;
362 mThread = thread( std::bind( &FileWatcher::threadEntry, this ) );
363 }
364}
365
366void FileWatcher::stopWatchPolling()
367{

Callers

nothing calls this directly

Calls 4

threadClass · 0.85
getFunction · 0.50
bindFunction · 0.50
isConnectedMethod · 0.45

Tested by

no test coverage detected