In the main program, the processes are created using the same target function, myFunc. This function simply prints the process name.
To run the example, open Command Prompt and type the following command:
> python naming_processes.py
The output looks like this:
Starting process name = myFunc process
Starting process name = Process-2
Exiting process name = Process-2
Exiting process name = myFunc process