We are going to set up three threads, each of which is assigned a target function. When the target function is executed and terminated, the function name is appropriately printed out.
For this example, the output should look like this (even if the order shown cannot be the same):
function_A--> starting
function_B--> starting
function_C--> starting
function_A--> exiting
function_B--> exiting
function_C--> exiting