A thread with a main loop and the ability to execute scheduled callbacks locally.