Skip to content

Commit be6aa72

Browse files
committed
qt/clientmodel: thread safety annotation for m_cached_tip_mutex
1 parent f24bd45 commit be6aa72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/clientmodel.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class ClientModel : public QObject
105105
//! A thread to interact with m_node asynchronously
106106
QThread* const m_thread;
107107

108-
void TipChanged(SynchronizationState sync_state, interfaces::BlockTip tip, double verification_progress, bool header);
108+
void TipChanged(SynchronizationState sync_state, interfaces::BlockTip tip, double verification_progress, bool header) EXCLUSIVE_LOCKS_REQUIRED(!m_cached_tip_mutex);
109109
void subscribeToCoreSignals();
110110
void unsubscribeFromCoreSignals();
111111

0 commit comments

Comments
 (0)