mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
Expose worker data state (static/dynamic).
This commit is contained in:
parent
225423bd21
commit
d8ac7dee83
@ -143,6 +143,7 @@ public:
|
|||||||
|
|
||||||
bool HasData() const { return m_hasData.load( std::memory_order_acquire ); }
|
bool HasData() const { return m_hasData.load( std::memory_order_acquire ); }
|
||||||
bool IsConnected() const { return m_connected.load( std::memory_order_relaxed ); }
|
bool IsConnected() const { return m_connected.load( std::memory_order_relaxed ); }
|
||||||
|
bool IsDataStatic() const { return !m_thread.joinable(); }
|
||||||
void Shutdown() { m_shutdown.store( true, std::memory_order_relaxed ); }
|
void Shutdown() { m_shutdown.store( true, std::memory_order_relaxed ); }
|
||||||
|
|
||||||
void Write( FileWrite& f );
|
void Write( FileWrite& f );
|
||||||
|
Loading…
Reference in New Issue
Block a user