Why don't you synchronize the threads, Bus and Car? Don't let Car start until Bus has finished? You can either use wait conditions or a global volatile flag or you could connect Bus's finished() signal to Car's start() slot - but this only if you are using Qt.
Bookmarks