I have to design a program that uses a main loop to keep track of time and to perform continuous checks. Also I have a gui system that can alter things in the system. The question is:
If i run a continuous loop that doesnt stop until the system exits, will the user be able to interact with the GUI I have set up, or will the loop have to stop running for the effect of pressing a button to take place? In other words, do i have to pause the loop, run the button command, then restart the loop, everytime a user interacts with the GUI? and if so, is there a way around this? Thanks to any and all who answer