1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Store fiber state is ThreadData.

This commit is contained in:
Bartosz Taudul
2021-11-02 01:45:01 +01:00
parent 229d547e91
commit 8f44f1c68b
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -743,7 +743,7 @@ private:
void InsertMessageData( MessageData* msg );
ThreadData* NoticeThreadReal( uint64_t thread );
ThreadData* NewThread( uint64_t thread );
ThreadData* NewThread( uint64_t thread, bool fiber );
tracy_force_inline ThreadData* NoticeThread( uint64_t thread )
{
if( m_data.threadDataLast.first == thread ) return m_data.threadDataLast.second;