Process: Difference between revisions

From Rosetta Code
Content added Content deleted
(Added an example of a thread being part of a process)
m (Added intrawiki link)
Line 1: Line 1:
[[Category:Encyclopedia]]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.
[[Category:Encyclopedia]]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.

Revision as of 14:42, 25 February 2008

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.