In user interface programming, most platforms have a concept of a main UI thread, and at least one background thread. This provides the ability to perform long running tasks in the background without preventing the user from interacting with your[…]