Question

In: Computer Science

Discuss the differences between processes and threads. Include discussion of the limitations of both multiple processes...

Discuss the differences between processes and threads. Include discussion of the limitations of both multiple processes and multiple threads, and give examples as to when you might want to use them.

Solutions

Expert Solution

process are independent each other but coming to threads these are not independent it contain subset of process

for example if 3 programs are execute one program is related to text document and another process is related to typing and 3rd one is listening music so there three are independent not dependent on each other but coming to threads

it can be dependent and subsets of processes example while we type the data throught keyboard then automatically spell checking is done two process are execute simantaneously.and another example we can watch the movie with the audio and subtitles like all process are done simantanously these can be done through threads only

process is proceed until it completes one are more process is run they must be proceed until the process is complete but coming to threds some certian time some piece of process executed another piece of tie another process is executed like kind of process in done


Related Solutions

Describe the differences between managerial and financial accounting. Include discussion on the differences as they relate...
Describe the differences between managerial and financial accounting. Include discussion on the differences as they relate to the primary users of the information and whether they are both required to follow the Generally Accepted Accounting Principles (GAAP). Also include a discussion on the principal differences between activity-based costing (ABC) and traditional product costing?
1. Establish the differences between concentration and activity. 2. Discuss the advantages and limitations of using...
1. Establish the differences between concentration and activity. 2. Discuss the advantages and limitations of using an ISE for quantitative applications.
Discuss the economic arguments concerning restrictions on immigration. Be sure to include in your discussion both...
Discuss the economic arguments concerning restrictions on immigration. Be sure to include in your discussion both economic analysis and empirical evidence
1.What are two differences between user-level threads and kernel-level threads? Under what circumstances is one type...
1.What are two differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other? 2.Describe the actions taken by a kernel to context switch between kernel level threads. 3.What resources are used when a thread is created? How do they differ from those used when a process is created? 4.Provide two programming examples in which multithreading provides better performance than a single-threaded solution.    5.Assume an operating system maps user-level threads to the kernel using...
Briefly discuss the fundamental differences between a multiple regression model, an analysis of variance model and...
Briefly discuss the fundamental differences between a multiple regression model, an analysis of variance model and an analysis of covariance model. Be sure to provide concrete examples of problems that represent the three types of models.
Please list at least 5 major differences between Managerial andFinancial Accounting. Include in your discussion...
Please list at least 5 major differences between Managerial and Financial Accounting. Include in your discussion who the important players are in each, who is using the information, and what type of information is everyone focused on. Please explain why each type of accounting (managerial and financial) plays an important role in the organization.
Please list at least 5 major differences between Managerial and Financial Accounting. Include in your discussion...
Please list at least 5 major differences between Managerial and Financial Accounting. Include in your discussion who the important players are in each, who is using the information, and what type of information is everyone focused on. Please explain why each type of accounting (managerial and financial) plays an important role in the organization.
Just to get us started on this discussion, can anyone discuss the differences between a manufacturing...
Just to get us started on this discussion, can anyone discuss the differences between a manufacturing company versus a merchandising company? And beyond that, how is a service company different from both of these? Also, if you can think of any examples of any one of these types of companies that would be good to add to your posting.
Political Thought For this discussion, please identify and discuss two of the major differences between Marxism...
Political Thought For this discussion, please identify and discuss two of the major differences between Marxism and Capitalism. In your discussion, provide specific examples of how each are implemented or used today (cite your sources as necessary).
As described in Section 4.5.2, Linux does not distinguish between processes and threads. Instead, Linux treats...
As described in Section 4.5.2, Linux does not distinguish between processes and threads. Instead, Linux treats both in the same way, allowing a task to be more akin to a process or a thread depending on the set of flags passed to the clone() system call. However, many operating systems — such as Windows XP and Solaris — treat processes and threads differently. Typically, such systems use a notation wherein the data structure for a process contains pointers to the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT