qt/clientmodel: thread safety annotation for m_cached_tip_mutex

This commit is contained in:
Anthony Towns 2022-05-21 01:08:47 +10:00
parent f24bd45b37
commit be6aa72f9f

View file

@ -105,7 +105,7 @@ private:
//! A thread to interact with m_node asynchronously
QThread* const m_thread;
void TipChanged(SynchronizationState sync_state, interfaces::BlockTip tip, double verification_progress, bool header);
void TipChanged(SynchronizationState sync_state, interfaces::BlockTip tip, double verification_progress, bool header) EXCLUSIVE_LOCKS_REQUIRED(!m_cached_tip_mutex);
void subscribeToCoreSignals();
void unsubscribeFromCoreSignals();