--%>

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 : Use of setjmp and longjmp Use of

    Use of setjmp() and longjmp(): In C/C++, setjmp() saves the contents of the registers at a particular state in the program and longjmp() will restore that state later. In this way, longjmp() “returns” to the state of the program when setjm

  • Q : What is Datagram Datagram : It is a

    Datagram: It is a packet of information passed between the two communicating procedures across a network. Both the Transmission Control Protocol (abbreviated as TCP) and the User Datagram Protocol (abbreviated as UDP) are indirectly comprised in sendi

  • Q : Explain Array initializer Array

    Array initializer: This is an initializer for an array. The initializer takes the position of separate creation and initialization steps. For example, the initializer int[] pair = { 4, 2, };

    Q : Explain the term Test Fusion Report of

    Explain the term Test Fusion Report of QTP?

  • Q : What is Low level programming languages

    Low level programming languages: It is frequently termed as `assembly languages’; these give little more than the fundamental instruction set of a particular Central Processing Unit. Therefore programs written in low level programming languages

  • Q : Problem on Vectors Create a vector

    Create a vector representing x coordinates of a measurement with 20 points between 0 and 10. Create another vector y representing fake measurements which are related to the above x values as y = 2.3 x – 1.2. Next add random (normal, Gaussian) noise to the vector

  • Q : What is Break statement Break statement

    Break statement: A statement employed to break out of a loop, switch statement or labeled block. In all situations, control continues with the statement instantly, subsequent to the containing block.

  • Q : How can we start Array Index from Zero

    How can we start Array Index from Zero?

  • Q : Directory and filename Explain

    Explain directory and filename?