Adds the task.
Enters main loop.
Terminates all tasks forcibly. Escapes from main loop because all tasks will be deleted.
Checks if 1 or more tasks are executing.
A handler to catch the exception thrown at inside of main loop.
Status code that main function returns.
Duration in milliseconds to sleep in each frames.
An object of application. Manages all tasks executing.