title: Running multiple functions at the same time?
body: <p>This must be a question asked a lot, and yet I couldn't quite find what I'm looking for.</p>
  
  <p>Imagine this:</p>
  
  <ul>
  <li>A program starts up "Hello, what's your name?"</li>
  <li>You enter a number and it goes "Your name can't be a number!"</li>
  </ul>
  
  <p>You keep entering a number and keep getting that error, while in the background it just keeps track of how long the program has been running, by doing n++ every second, no matter what goes on in the text/input part. Eventually you could enter something like "time" and then it shows how long you've been there, in seconds...</p>
  
  <p>SO my question is: Just how the hell would you go about doing that? To have them run independently?</p>
  
  <p>Thanks in advance!</p>
  
  <p>Edit: I'm not trying to do this timing thing in particular, it's just the easiest example I could come up with to ask about running functions independently..</p>