now the threads are aware of each other and wait for the sensors to be identified before reading