how can make to instructions simultaneously run example:

in main() how can i make two functions example movescreen() and moveship run at the same time...

thanks )