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..
Deadlocks, What is methods For handling Deadlocks?
What is methods For handling Deadlocks?
Cisc, two characteristics og CISC architecture?
two characteristics og CISC architecture?
Visual basics, Assume that s is a string variable that is supposed to con...
Assume that s is a string variable that is supposed to contain a value to be converted to integer. Write a fragment of code that converts the value to integer variable and displ
Computer architecture, Subject Name CIT2193 COMPUTER ARCHITECTURE Topic AS...
Subject Name CIT2193 COMPUTER ARCHITECTURE Topic ASSIGNMENT Due Date 16 March 2012 Name : ……….…………………….……………….. Lecturer : ................................. Intake : ………………….
Why learning of Assembly language is beneficial?, The first reason to work ...
The first reason to work with assembler is that it offers the opportunity of knowing more the operation of your PC, which permits the development of software in a more constant man
Files, definition of file operations
definition of file operations
Enterprise collaboration system, what is the goals of enterprise collaborat...
what is the goals of enterprise collaboration system?
Distinguish between buffering and caching, QUESTION (a) Describe what y...
QUESTION (a) Describe what you understand by (i) "openness" and (ii) "Scalability" of a distributed system (b)What is the role of middleware in a distributed system? (c)
Networks, Networks: There are different interpretations for the term °...
Networks: There are different interpretations for the term °nets% The Oxford English Dictionary states that 'a network is an interconnected chain or system of immaterial thing
Data structuures, write a fuctions for MIDSQUARING hashing technique
write a fuctions for MIDSQUARING hashing technique
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
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.