Demo of code threading.