Builds, tests, and runs the project ThreadDemo.