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?

Circuit switching and , Circuit Switching: Many switching techniques a...

Circuit Switching: Many switching techniques are in use. One of them is line or circuit switching in which a communications path is actually established before the message is

Operating system, Operating System: Operating  System is the software ...

Operating System: Operating  System is the software that manages all the computers' resources to optimize its performance provides common services for efficient execution of v

What are the various skills needed for broadcasting and film, Question 1 W...

Question 1 What are the various skills needed for broadcasting and film? Question 2 What is a 2 dimensional animations and 3 dimensional animations? Question 3 Different

Line decoders, number of 4 to 16 line decoders required to get 8 lto 256 li...

number of 4 to 16 line decoders required to get 8 lto 256 line decoder

Multiple allocations, You can also allocate a single value to several varia...

You can also allocate a single value to several variables at the same time. For instance: X=y=z =1 Now, an integer object is generated with the value 1, and all three variables are

Syntax of a Macro, The divisions which make a macro are: • Declaration of t...

The divisions which make a macro are: • Declaration of the macro Code of the macro Macro termination directive The assertion of the macro is done the following way: Name Macro [par

Write a long note letters to the editor, Question 1 What is meant by typog...

Question 1 What is meant by typography? Describe the process in which one can choose and use type Question 2 What is investigative reporting? Write a long note Question 3

Classification of computers, Classification of Computers DIGITAL, ANAL...

Classification of Computers DIGITAL, ANALOG AND HYBRID Computers are of three basic types – Digital, Analog, and Hybrid. Current use of the word “computer” almost a

Hypertext transfer protocol (http), It's a common protocol or "language" co...

It's a common protocol or "language" computers use to "speak" to each other over the Web.

Applications software, Applications Software: General aspects on appli...

Applications Software: General aspects on applications software. Applications software is the program that allow the user to get the required work done. In other words, applic

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