1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
11Alexandr11 [23.1K]
3 years ago
7

There are two main advantages to using multiple threads in a process: 1) Less work involved in creating a new thread rather than

a new process 2) Communication among threads within the same process is simplified. Briefly explain how threads give these advantages. Is it also true to say that context switching between two threads in the same process involves less work than switching to a thread in a different process?
Computers and Technology
1 answer:
Brums [2.3K]3 years ago
7 0

Answer:

Thread is a light weight where as Process is a heavy weight in nature

Explanation:

A process can use to accomplish complex tasks which involves utilization of more system resources. Thread is  part of process which is used to accomplish some smaller task. Thread is light weight and involves utilization of less no of resources.

A process can have more than one thread for execution. we can execute these threads in a process parallelly. This is known as Multi Threading.

There are Mainly 2 Advantages to using multi threads in a process

Less work Involved in creating New Thread rather than a New process: this is because all threads in a process use same address space so it is very easy to communicate and operate these threads in a process. Each process is used separate address space so if we want to create another process then it involves utilization of more resource so more overhead

Communication among threads in same process also simplified as these are using same address space

You might be interested in
A(n) _______________ loop usually occurs when the programmer forgets to write code inside the loop that makes the test condition
Serggg [28]
Infinite





,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
5 0
3 years ago
________ is installed on your computer, and when the program is opened, your e-mail downloads to your computer.
kenny6666 [7]
An email client is installed, like Microsoft Outlook for example.
4 0
3 years ago
Read 2 more answers
The shapes of AND, OR, and NOR gates have something in common. What is it and why do you think they share that feature?
irina1246 [14]
There're all conjunctions.

You can seperate them in sentences after a comma for a run-on sentence.
4 0
2 years ago
The keyboard shortcut to save a file is _______.<br><br> Ctrl-s
asambeis [7]
Yes its Ctrl + S and if you want to save as press F12
8 0
3 years ago
The random module is a group of functions that are used to deal with random numbers.
maksim [4K]
True because it is the
5 0
3 years ago
Read 2 more answers
Other questions:
  • ___ Jacking is a crime that takes place when a hacker misdirects URL to a different site. The Link Itself Looks Safe, But the us
    11·1 answer
  • Lucy wants to develop a web page to display her profile. She wants to just start with a basic page that lists her accomplishment
    13·1 answer
  • _____ is used to temporarily hold small units of program instructions and data immediately before, during, and after execution b
    10·1 answer
  • John was carrying on at the water cooler the other day, trying to show off his knowledge of networking. He claimed that the comp
    10·1 answer
  • you just bought a new hard drive for your computer .you plan to use this as a secondary hard drive to store alll your files. wha
    15·1 answer
  • For this project, you'll be given information to create a business report using word processing software. Suppose you want to op
    11·1 answer
  • The default paper size is _____. <br> a. letter <br> b. legal <br> c. executive <br> d. statement
    7·1 answer
  • What is data Communications​
    11·2 answers
  • give an example of a technical issue you were not able to resolve on your first attempt. What troubleshooting steps did you take
    13·1 answer
  • A _______________ is a particular type of network that uses circuits that run over the Internet but that appears to the user to
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!