Refactor OSThread consumers to use disable()

This commit is contained in:
Ben Meadors
2022-12-29 16:26:25 -06:00
parent a8f93d5f47
commit 38a1315599
9 changed files with 14 additions and 25 deletions

View File

@@ -93,10 +93,10 @@ void OSThread::run()
currentThread = NULL;
}
void OSThread::disable() {
void OSThread::disable()
{
enabled = false;
setInterval(INT32_MAX);
}
/**