I\'m new to multi-threading and I\'m looking for some help understanding the idiomatic way of doing something when a thread is finished, such as updating a progress bar. In