What are the advantages and disadvantages of multithreading, Operating System

Assignment Help:

What are the advantages and disadvantages of multithreading?

 Advantages:

  • Since by multithreading multiple executions are carried out in the same process environment to a large degree independent of one other Multithreading assist the applications to perform and respond better.
  • The operations can be completely interrupting driven.
  • The processor utilization is inferior through multithreading. Thus the power consumption is decreased to a great extend.
  • Multithreading is helpful in applications that must processes very large amount of data.

 Disadvantages:

  • Since the threads are sharing the similar address area and can access the resources like open files problems can take place if different threads use different data structures.
  • If a parent process has multiple threads for suitable process functioning the child processes also should be multithreaded since all of them may be essential.

Related Discussions:- What are the advantages and disadvantages of multithreading

Explain the worker model, Explain the Worker Model The Worker Model of ...

Explain the Worker Model The Worker Model of client-server application architecture provides a very good understanding of threads and their power to the developer. This exercis

Control the access of the three global variables, Give a brief introduction...

Give a brief introduction about the operation of your program and show that you understand the idea behind threads and mutual exclusion variable. Why do we need to use mutual exclu

Explain optimal page replacement, Optimal page replacement An optimal ...

Optimal page replacement An optimal page replacement algorithm has the least page fault rate of all algorithms. The algorithm states that a 'replace the page that will not be

Race condition, list the prevention of mechanism for race condition with op...

list the prevention of mechanism for race condition with operating system

Android development, Developing an application for android encompass differ...

Developing an application for android encompass different steps as follows: Setup:  Development environment is prepared during this phase. This includes downloading and installi

How file record length should be chosen, How File record length should be c...

How File record length should be chosen File record length should be selected to match the data characteristics

Lock revenue variable, Demonstrate that your program (include the program o...

Demonstrate that your program (include the program output as part of the final report) can produce the correct output with the following parameters. For each case comment if the ou

Describe swapping technique in unix systems, Describe swapping technique in...

Describe swapping technique in UNIX systems. Swapping is used to control memory contention among processes. If there is excessively much memory contention, processes are swappe

List disadvantages of using a single directory, List disadvantages of using...

List disadvantages of using a single directory. Users have no privacy. Users must be careful in choosing file names, to avoid names used by others. Users may destroy each othe

Differences between foreground and background, Describe the differences bet...

Describe the differences between foreground and background processing. What advantage does background processing provide? 1. Background processes typically run with little or no

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