what is thread in operating system?, Basic Computer Science

Regardless of of the fact that a thread must execute in process, the process and its associated threads are different notion. Processes are used to group resources together and threads are the articles scheduled for execution on the CPU.
A thread is a single sequence stream surrounded by a process. Because threads have some of the aspects of processes, they are at times called lightweight processes. In a process, threads permit multiple executions of streams. In many value, threads are popular way to get better application through parallelism. The CPU switches quickly back and forth among the threads giving false impression that the threads are running in parallel. As a traditional process i.e., process with one thread, a thread can be in any of a number of states (Running, Blocked, Ready or terminated). Every thread has its individual stack. Since thread will generally call different procedures and therefore a different execution history. This is why thread necessitates its own stack. An operating system that has thread facility, the necessary unit of CPU utilization is a thread. A thread has or consists of a register set, program counter (PC), and a stack space. Threads are not independent of one other similar to processes as a result threads shares with additional threads their code section, data section, OS resources also recognized as task, such as open files and signals.
Posted Date: 5/2/2012 6:29:07 AM | Location : United States







Related Discussions:- what is thread in operating system?, Assignment Help, Ask Question on what is thread in operating system?, Get Answer, Expert's Help, what is thread in operating system? Discussions

Write discussion on what is thread in operating system?
Your posts are moderated
Related Questions
Selects among the processes in memory which are ready to execute & allocates the CPU to one of them CPU scheduling decisions can be taken place when a process: A. Terminates B. Swi

Problem When a data is sent across the network it is encrypted and arranged in a way that even if there is a diversion in the flow of data should not leak the data. At the rece


Transaction-based model: Here,  the pricing is based on providing a committed business service, for ex, processing payroll for a global company as part of HR offering and this

I want the detailed theory about the options which occur when we right click on a folder.

Two dimensional Arrays:  A two-dimensional array is like a table, with a defined number of rows, where each row has a defined number of columns. In some instances we need to  hav

Telecommunications: 'Data communications', 'Communications technology', 'Computer telecommunications', Compunications', 'Telecomputing', etc., are just some of the terms we co

Question 1 Convert the following binary numbers to its specified number system 1101.11 (2) to octal 1111 (2) to decimal 110.11 (2) to hexadecimal 1011.11 (2) to

Question 1 Explain with an example the three kinds of relationships that are most important in object oriented modeling Question 2 Describe the Common Modeling techniques in

Constant: In contrast to a variable, which is used as identifier for a value and which can change, constants are identifiers that are used for values, which cannot be changed.