Process

From Rosetta Code
Revision as of 20:13, 10 February 2008 by rosettacode>Mwn3d (Added an example of a thread being part of a process)

A process is an instance of a computer program. This is not to be confused with a thread, which is a section of code which runs concurrently with other sections of code, or a program, which is a list of instructions. Threads are technically part of a process. For instance, in a Java GUI program, many GUI actions are handled on a separate thread from the rest of the program, but it all still runs in a single process.