How it works...

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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.94.152