Define multithreading, Operating System

Assignment Help:

Define multithreading

The proficiency of an operating system to execute different parts of a program called threads simultaneously is called as multithreading. A thread is a flow of control from a program with a single execution point. Threads are similar to pieces of process and every process will be having at least one thread. In multithreading the threads are executing in parallel. Having multiple threads executing in parallel in one process is analogous to having multiple processes running in parallel in one computer. Here the threads share open files, an address space, and other resources.

Since the threads executing parallel are sharing the resources the interfering among the threads should be avoided. Multithreading is put into practice for improving the response time of the system.

1920_Define multithreading.png


Related Discussions:- Define multithreading

Find the number of drives in the jukebox, Q. In a disk jukebox what would b...

Q. In a disk jukebox what would be the result of having more open files than the number of drives in the jukebox? Answer: Two bad results could result. One likelihood is star

Explain lru page replacement, LRU page replacement In slightest recentl...

LRU page replacement In slightest recently used page replacement algorithm we will replace that page that hasn't been used for the longest period of time. This is similar as an

Why is rotational latency not considered in disk scheduling, Q. Why is rota...

Q. Why is rotational latency typically not considered in disk scheduling? How would you alter SSTF, SCAN and C-SCAN to comprise latency optimization? Answer: Most disks don't

What are the various disk-scheduling algorithms, What are the various disk-...

What are the various disk-scheduling algorithms? The several disk-scheduling algorithms are a. First Come First Served Scheduling b. Shortest Seek Time First Scheduling

Us constitution, what branch of goverment were the federal courts are?

what branch of goverment were the federal courts are?

Does windows xp offer any user-mode processes, Q. Does Windows XP offer any...

Q. Does Windows XP offer any user-mode processes that enable it to run programs developed for other operating systems? Describe two of these subsystems. Answer: Environmental

Describe the differences among short-term and medium-term, Describe the dif...

Describe the differences among short-term, medium-term, and long-term scheduling.   Short-term (CPU scheduler)-selects from jobs in memory those jobs that are ready to execu

Objective, what are the objective of operating system assignment

what are the objective of operating system assignment

Distinguish among a streams driver and a streams module, Q. Distinguish amo...

Q. Distinguish among a STREAMS driver and a STREAMS module? Answer: The STREAMS driver controls the physical device that could be involved in a STREAMS operation. The STREAMS

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