scheduler: Add Clang thread safety annotations for variables guarded by m_cs_callbacks_pending
This commit is contained in:
parent
219970524d
commit
244f4baf0f
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ private:
|
||||||
CScheduler *m_pscheduler;
|
CScheduler *m_pscheduler;
|
||||||
|
|
||||||
CCriticalSection m_cs_callbacks_pending;
|
CCriticalSection m_cs_callbacks_pending;
|
||||||
std::list<std::function<void (void)>> m_callbacks_pending;
|
std::list<std::function<void (void)>> m_callbacks_pending GUARDED_BY(m_cs_callbacks_pending);
|
||||||
bool m_are_callbacks_running = false;
|
bool m_are_callbacks_running GUARDED_BY(m_cs_callbacks_pending) = false;
|
||||||
|
|
||||||
void MaybeScheduleProcessQueue();
|
void MaybeScheduleProcessQueue();
|
||||||
void ProcessQueue();
|
void ProcessQueue();
|
||||||
|
|
Loading…
Add table
Reference in a new issue