The process is a program that is loaded and ready to execute. This program runs in private virtual addresses
Space and include code, data and processes to see and use operating system resources (such as
Documents and pipelines). The process contains one or more lines within its context environment
Process. Although each process is started, there is only one thread, but it can be created in the run.
Independent execution thread.
The thread is the basic object of the CPU time slice from the operating system. Thread is the stream of code execution
Cheng, it can perform any part of the application code, including the part that is being executed
Code. All threads belonging to a process share the code, resource, virtual address space of that process.
And global variables.
Note: A 32-bit application can contain one or more processes, one process can include
One or more threads.