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
Telecommunications: 'Data communications', 'Communications technology', 'Computer telecommunications', Compunications', 'Telecomputing', etc., are just some of the terms we co


explain the steps to form a colourful card

Problem: a) Explain the basic functions of a computer: inputting, processing, storing and outputting. b) List four types of memory and explain how each wor

DATA AUTONOMOUS TRANSMISSION: This could be the possible replacement for the ARINC 429 standard and will be annotated the standard - ARINC 629. In the DATAC system, the contro

File Sharing Architecture:   The development of microprocessor, PC and LAN transformed dumb terminals into -smart? clients. This brought a complete change in the computing env

Central Processing Unit (CPU): The CPU is the physical device that controls computer operations. It is considered as the 'brain' of the computer system. The CPU comprises thre

Question 1 Convert the following hexadecimal numbers to base 2 (D73)16 (A21)16 Question 2 Convert the following binary numbers to base 16 (11001011)2 (11

Simple Tasks to Accomplish Once you've worried for why you're performing AI, what has inspired you and how you're going to approach the job, then you can initialize to think for

Statements in Python classically end with a new line. Python does, though, permit the use of the line continuation character (\) to denote that the line should continue. Illustrati