How to deal with threading

Nice explanation! you really know what I was looking for. Thanks!