Bus reservation using multithreading synchronization concept