I copied the following code for my project and it\'s worked quite well for me but I don\'t really understand how the following code runs my blocking_function: