mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 17:35:51 +00:00
Make uptime member volatile
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
private:
|
||||
// VFALCO: DEPRECATED, Use a memory barrier instead of forcing a cache line
|
||||
int m_pad1; // make sure m_elapsedTime fits in its own cache line
|
||||
int m_elapsedTime;
|
||||
int volatile m_elapsedTime;
|
||||
int m_pad2;
|
||||
|
||||
time_t m_startTime;
|
||||
|
||||
Reference in New Issue
Block a user