In my code, if you leave out the wait's then , in essence, only THAT function
is running and able to 'see' what keys are being pressed, and all other
functions are kind-of "on hold" whenever a key is pressed.
The wait in my example allows my get_inchar() to get a character,
and then it waits one frame, to allow other functions to see what key
has been pressed.
With your examples, niether will work 'well' because in both cases the multiple
instances will keep 'fighting' each other for control.
In the first example, the fighting is happening inside a single frame and causes the crash,
where in the second example they just 'take it in turns' to have control, not good methinks.
I need a better understanding your 'overall' project before I cant suggest anything further. PM me with it if you want it kept secret...