some tweaks for busy handling #500

Merged
muellerr merged 28 commits from tweak_papb_busy_polling into develop 2023-03-24 14:15:01 +01:00
50 changed files with 755 additions and 915 deletions
Showing only changes of commit f61c448a24 - Show all commits

View File

@@ -26,9 +26,9 @@ ReturnValue_t PersistentLogTmStoreTask::performOperation(uint8_t opCode) {
if (not cyclicStoreCheck()) { if (not cyclicStoreCheck()) {
continue; continue;
} }
someonesBusy = false;
someFileWasSwapped = false; someFileWasSwapped = false;
bool busy = handleOneStore(stores.okStore, okStoreContext); stateHandlingForStore(handleOneStore(stores.okStore, okStoreContext));
stateHandlingForStore(busy);
stateHandlingForStore(handleOneStore(stores.notOkStore, notOkStoreContext)); stateHandlingForStore(handleOneStore(stores.notOkStore, notOkStoreContext));
stateHandlingForStore(handleOneStore(stores.miscStore, miscStoreContext)); stateHandlingForStore(handleOneStore(stores.miscStore, miscStoreContext));
if (not someonesBusy) { if (not someonesBusy) {