1
0
mirror of https://github.com/livingcomputermuseum/UniBone.git synced 2026-05-05 15:34:57 +00:00

Multiple parallel instances of device::worker() possible

This commit is contained in:
Joerg Hoppe
2019-06-23 12:00:13 +02:00
parent 3952cb93b0
commit 4062386b97
36 changed files with 1620 additions and 100 deletions

View File

@@ -223,7 +223,8 @@ void rk05_c::drive_reset(void) {
// SCP change will be posted when the seek instigated above is completed.
}
void rk05_c::worker(void) {
void rk05_c::worker(unsigned instance) {
UNUSED(instance) ; // only one
timeout_c timeout;
while (true) {