what is thread in operating system?, Basic Computer Science

Assignment Help:
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.

Related Discussions:- what is thread in operating system?

Assembly language, write and run the following programs using 8086 assembly...

write and run the following programs using 8086 assembly language that interchange the upper and lower four bits of AL register.

Instructions for cycles: loop, They transfer the process flow, provisionall...

They transfer the process flow, provisionally or totally, to a destiny, replicating this action until the counter is zero. LOOP LOOPE LOOPNE LOOP INSTRUCTION reason: To produce a c

Comments in Python, A hash sign (#) that is not within a string literal beg...

A hash sign (#) that is not within a string literal begins a comment. All characters later than the # and up to the physical line end are division of the comment, and the Python in

Java, function of void

function of void

Choice of medium - transmission channels, Choice of Medium: All the tr...

Choice of Medium: All the transmission channels discussed in the foregoing paragraphs can be used as point to point connections or as broadcast systems. Transmitting informati

Explain the protection features of ms access, Question 1 Explain the pr...

Question 1 Explain the protection features of MS Access? 2 What is Query Parameter? 3 What are the steps to be taken for improving performance of Microsoft Access database? 4 W

What is heuristic evaluation, Question 1: (a) How would you describe h...

Question 1: (a) How would you describe human reasoning? (b) Describe the different types of human reasoning? Question 2: (a) What are the computational factors affec

Read only memory (rom), Read only memory (rom): The problem with RAM is...

Read only memory (rom): The problem with RAM is that its memory is volatile, i.e. it loses all its data when the power supply is removed.  A non-volatile memory is a permanent

Explain the architecture of wap, Question 1 Discuss the benefits and goals...

Question 1 Discuss the benefits and goals of e-commerce Question 2 List and explain the features of portal Question 3 Elaborate the TCP/IP model Question 4 Explain the archi

Twisted pair cable, what are daily uses of twisted pair cable in network

what are daily uses of twisted pair cable in network

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd