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

Rename IsThreadStringRetrieved -> IsFailureThreadStringRetrieved.

IsThreadStringRetrieved() interface suggested that it can be used for
checking any thread state, as it had an uint64_t id parameter.

The implementation ignored this parameter and checked the status of
failure thread only. This was never an issue because the code using
this function was only checking for the failure thread state.

Fixed by renaming the function to explicitly state what it does and
removing the thread id parameter.
This commit is contained in:
Bartosz Taudul
2023-04-16 17:49:21 +02:00
parent b64bab197a
commit 3b00e55235
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -882,7 +882,7 @@ private:
void HandlePostponedSamples();
void HandlePostponedGhostZones();
bool IsThreadStringRetrieved( uint64_t id );
bool IsFailureThreadStringRetrieved();
bool IsSourceLocationRetrieved( int16_t srcloc );
bool IsCallstackRetrieved( uint32_t callstack );
bool HasAllFailureData();