Difference among a computer process and thread
Describe difference among a computer process & thread?
Expert
A single process can contain multiple threads which share global data and address space along with other threads running in the similar process, and thus can operate on the similar data set easily. Processes do not share address space and a different mechanism have to be utilized if they are to share data.
If we assume running a word processing program to be a process, then the auto-save and spell check features which happen in the background are different threads of that process which are all operating on the similar data set (your document).
Process:
In computing, a process is an instance of a computer program which is being sequentially executed [1] by a computer system which has the ability to run several computer programs concurrently.
Thread:
A single process may have several executable programs (threads) that work together like a coherent whole. One thread might, for instance, handle error signals, another might send a message regarding the error to the user, while a third thread is executing the actual task.
Normal 0 false false
Thread Interleaving Heuristics: A different kind of structural coverage is based on maximizing thread interleavings. Traditional testing frequently misses subtle race conditions or deadlocks because usually the scheduler cannot be controlled directly.
How could database technology be the basis for implementing MOM queue elements?
A* Search: A* (pronounced “A star”) is a best-first search that attempts to minimize the total length of the path from the initial state to the goal state. It combines advantages of breadth-first search, where the shortest path is found fi
18,76,764
1937223 Asked
3,689
Active Tutors
1427417
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!