Explain the difference between a computer process and thread

Explain the difference between a computer process and thread.

E

Expert

Verified

A single process can consist multiple of threads which share global data and address space with other threads running within the same process, and thus can operate on similar data set simply. Processes do not share address space and a various mechanism must be used when they are to share data.

When we consider running a word processing program to be a process, there then the auto-save and spell check features which occur in the background are various threads of that process that are all operating on similar data set (your document).

   Related Questions in Programming Languages

  • Q : Explain the important thing to HTML

    Explain the important thing to HTML document authors.

  • Q : Explain Synchronized statement

    Synchronized statement: It is a statement in which an object-lock should be obtained for the target object prior to the body of the statement and can be entered. Employed to enclose a critical section in order to save a race hazard.

  • Q : The COBOL ALTER statement Task 3

    Task 3 Explain the effect of the following pictures: 05 FIELD-1 PIC Z(5)9. 05 FIELD-2 PIC £(5)9.99. 05 FIELD-3 PIC £**,***.99. 05 FIELD-4 PIC £££,££9.99DB. 05

  • Q : What is Protected access Protected

    Protected access: Protected access is accessible to a class member prefixed with protected access modifier. This member is accessible to all classes stated within the enclosing package, and any sub-classes expanding the enclosing class.

  • Q : Modeling Language for SPIN-Promela

    Modeling Language: The modeling language used for SPIN is called Promela (Process Meta Language). In fact, the name SPIN stands for Simple Promela Interpreter. Promela is a powerful C-like specification language with a variety of synchronization primi

  • Q : Illustrates database connection pooling

    Illustrates database connection pooling which is relative to MTS. Answer: This permits MTS to reuse database connections. Pooling of database connections are put to

  • Q : Define the term Blank final variable

    Blank final variable: A final variable which is not initialized as portion of its declaration. This variable should be initialized in either an instance initialization block or every of the constructors for its class before it is employed. A static bl

  • Q : Explain the common uses of XML Explain

    Explain the common uses of XML.

  • Q : Explain the computer process Explain

    Explain the computer process.

  • Q : Explain the java applets with a

      APPLET: an applet is an application designed to tra

©TutorsGlobe All rights reserved 2022-2023.