I would do something like this
Although in practice I will also exit the loop after some seconds even if the control flag is still false.
I would do something like this
Although in practice I will also exit the loop after some seconds even if the control flag is still false.