mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Storage: Provide accessor for global mutex.
This commit is contained in:
@@ -97,6 +97,7 @@ class Storage {
|
||||
void EnableUpdates() { m_updates_enabled = true; }
|
||||
void DisableUpdates() { m_updates_enabled = false; }
|
||||
UpdateQueue& updates() { return m_updates; }
|
||||
std::mutex& mutex() { return m_mutex; }
|
||||
|
||||
// User functions
|
||||
std::shared_ptr<Value> GetEntryValue(StringRef name) const;
|
||||
|
||||
Reference in New Issue
Block a user