1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Add on demand mode flag accessor.

This commit is contained in:
Bartosz Taudul 2023-03-04 00:19:58 +01:00
parent e92874c0bb
commit 5ebc499f49
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -624,6 +624,7 @@ public:
bool IsConnected() const { return m_connected.load( std::memory_order_relaxed ); }
bool IsDataStatic() const { return !m_thread.joinable(); }
bool IsBackgroundDone() const { return m_backgroundDone.load( std::memory_order_relaxed ); }
bool IsOnDemand() const { return m_onDemand; }
void Shutdown() { m_shutdown.store( true, std::memory_order_relaxed ); }
void Disconnect();
bool WasDisconnectIssued() const { return m_disconnect; }