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
Debugging Once a program has been written, it has to be tested first to ensure that it is free of errors. It is very normal that any program written will contain mistake

Overview of a Computer System There are three major elements in every computer solution. They are:     Data     Hardware     Software Hardware + Softwa

Write a system using script written in asuitable scripting language to automate taking a basic linux server instance and provisioning it with particular applications based on its I

Process of Data mining Data mining is an iterative process that typically involves the following phases: Problem definition A data mining project starts with the understanding o

Why we need data mining? Give an example to illustrate your answer.

Concept of operating system: An operating system is an essential software component of a computer system. The basic  objectives of an operating system are to make the computer

Telecommunication Networks Architecture is the manner in which the components of thenetwork are organized and integrated to provide telecommunication services to users ofthe netwo

socket programming


Question 1 List and explain the ways used to close an MS Word document Question 2 What is MS-Excel? List the steps involved in starting Microsoft Excel Question 3 What i