Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 16 of 16) sorted by relevance

/glogg/glogg/src/
H A Dwatchtower.h
H A Dwinwatchtowerdriver.cpp
H A Dwatchtowerlist.h
H A Dkqueuewatchtowerdriver.cpp
H A Dwinwatchtowerdriver.h
H A Dinotifywatchtowerdriver.cpp
/glogg/src/
H A Dwatchtower.h149 std::lock_guard<std::mutex> lock( observers_mutex_ ); in addFile()
172 if ( auto heart_beat = weakHeartBeat.lock() ) { in addFile()
201 if ( auto heart_beat = weakHeartBeat.lock() ) in addFile()
241 std::lock_guard<std::mutex> lock( watch_tower->observers_mutex_ ); in removeNotification()
259 std::unique_lock<std::mutex> lock( observers_mutex_ ); in run()
264 &observed_file_list_, &lock, &files_needing_readding, polling_interval_ms_ ); in run()
H A Dwinwatchtowerdriver.cpp308 std::unique_lock<std::mutex>* lock, in waitAndProcessEvents() argument
321 lock->unlock(); in waitAndProcessEvents()
328 lock->lock(); in waitAndProcessEvents()
337 if ( std::shared_ptr<WinWatchedDirRecord> dir_record = dir_record_ptr.lock() ) in waitAndProcessEvents()
H A Dwatchtowerlist.h256 if ( auto dir = d.second.lock() ) { in searchByDirWdAndName()
283 if ( auto dir = d.second.lock() ) { in searchByDirWd()
291 if ( auto d = dir->second.lock() ) { in searchByDirWd()
347 dir = observed_dirs_[ dir_name ].lock(); in watchedDirectory()
362 if ( auto list = weakHeartBeat.lock() ) { in addWatchedDirectory()
H A Dkqueuewatchtowerdriver.cpp192 list_lock->lock(); in waitAndProcessEvents()
H A Dinotifywatchtowerdriver.cpp128 list_lock->lock(); in waitAndProcessEvents()
H A Dwinwatchtowerdriver.h181 std::unique_lock<std::mutex>* lock,
/glogg/src/data/
H A Dlogdata.cpp392 fileMutex_.lock(); in doGetLineString()
412 fileMutex_.lock(); in doGetExpandedLineString()
452 fileMutex_.lock(); in doGetLines()
491 fileMutex_.lock(); in doGetExpandedLines()
/glogg/glogg/src/data/
H A Dlogdata.cpp
/glogg/glogg/tests/
H A DwatchtowerTest.cpp
/glogg/tests/
H A DwatchtowerTest.cpp106 if ( auto keep = weakHeartbeat.lock() ) { in registerFile()
107 unique_lock<mutex> lock(mutex_); in registerFile() local
127 unique_lock<mutex> lock(mutex_); in waitNotificationReceived() local
128 bool result = ( cv_.wait_for( lock, std::chrono::milliseconds(timeout_ms), in waitNotificationReceived()