added custom implementation for shred

This commit is contained in:
2020-08-26 00:12:39 +02:00
parent a2a18bbc34
commit f39fbfbd54
12 changed files with 583 additions and 94 deletions

View File

@ -50,8 +50,6 @@ void reHDD::app_logic(void)
pipe(fdNewDrivesInformPipe);
pipe(fdShredInformPipe);
thread thDevices(ThreadScannDevices); //start thread that scanns for drives
thread thUserInput(ThreadUserInput); //start thread that reads user input
@ -425,7 +423,6 @@ void reHDD::handleAbort()
}
}
void reHDD::checkShredComplete(vector <Drive>* pvecDrives)
{
vector <Drive>::iterator it;
@ -438,4 +435,5 @@ void reHDD::checkShredComplete(vector <Drive>* pvecDrives)
it->state = Drive::NONE; //reset for an other task
}
}
}
}