Renamed checkTerminationRequest to avoid confusion about the actual behavior

This commit is contained in:
dario
2023-10-28 20:12:27 +02:00
parent 3900c7ba77
commit 0e96b2ec29
2 changed files with 5 additions and 3 deletions

View File

@@ -104,9 +104,11 @@ namespace sta
void requestTermination();
/**
* @brief Returns true if this thread was requested to terminate.
* @brief Resets the terminate bool to false.
*
* @return Returns the previous value of this variable.
*/
bool checkTerminationRequest();
bool resetTerminationRequest();
/**
* @brief Forcibly terminate thread.