It's a great rudimentary question, but I'm going to work from top to bottom in any language, but I'd like to write a source that will cause two actions at the same time instead However, I would like to write the processing to be performed in one source at the same time, instead of starting multiple programs by specifying time, for example. Please tell me how to write.