Customer Service Chat
Get quote & make Payment
Advantages and Disadvantages of Threads over Multi processes, Basic Computer Science
• Sharing Treads permit the sharing of a lot resources that cannot be shared in process, for instance, sharing code section, data section, Operating System resources like open file etc.
• Context Switching Threads are very reasonably priced to create and destroy, and they are inexpensive to represent. For instance, they require space to store, the PC, the SP, and the common-purpose registers, but they do not need space to share memory information, Information about open files of I/O devices in use, etc. With so little circumstance, it is much faster to switch between threads. In other words, it is comparatively simpler for a circumstance switch using threads.
• Security Since there is, a wide sharing among threads there is a potential difficulty of security. It is quite possible that one thread over writes the stack of a different thread (or damaged shared data) although it is very unlikely since threads are destined to cooperate on a single task.
• Blocking The major drawback if that if the kernel is single threaded, a system call of one thread will block the entire process and CPU may be idle during the blocking period.
Posted Date: 5/2/2012 7:14:52 AM | Location : United States
Ask an Expert
Advantages and Disadvantages of Threads over Multi processes, Assignment Help, Ask Question on Advantages and Disadvantages of Threads over Multi processes, Get Answer, Expert's Help, Advantages and Disadvantages of Threads over Multi processes Discussions
Write discussion on Advantages and Disadvantages of Threads over Multi processes
Your posts are moderated
Write your message here..
What is microcontroller?, Microcontroller: A highly integrated microprocess...
Microcontroller: A highly integrated microprocessor designed specifically for use in embedded systems. Microcontrollers typically includes an integrated CPU, memory (a small amount
Variables and constants, Variables and Constants: These are the smalle...
Variables and Constants: These are the smallest components of a programming language. For writing a program, one must know how to use the internal memory of a computer. A Com
Digital logic design, encoder
Describe any five requirements of clustering in data mining, Question 1...
Question 1 What is data mining? What are the major issues in data mining? Explain 2 What is meant by data reduction? Explain any three techniques of data reduction 3 Define a b
Computer organisation, What is the key characteristic of ROM?
What is the key characteristic of ROM?
Reflex agent-artificial intelligence, Reflex agent-Artificial Intelligence ...
Reflex agent-Artificial Intelligence If an agent decides and executes an action in response to a sensor input without consultation of its world, then it may be considered a ref
Data mining, Process of Data mining Data mining is an iterative process t...
Process of Data mining Data mining is an iterative process that typically involves the following phases: Problem definition A data mining project starts with the understanding o
Internet searching, Internet searching: The Internet consists of mill...
Internet searching: The Internet consists of millions of private/public/academic/business and government networks having local to global scope. It has billions of web pages o
Computer architecture, #formular for calculating speed up factor fo super s...
#formular for calculating speed up factor fo super scalar architecture, super pipeline architecture and VLIW with m different functional units.
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.