Explain the benefits of thread over process?, Operating System

Assignment Help:

BENEFITS OF THREADS OVER PROCESS

If implemented correctly after those threads have some advantages of (multi) processes, they take:

1. Less time to create a new thread than a process, for the reason that the newly created thread uses the current process address space.

2. Less time to finish a thread than a process.

3. Less time to switch among two threads within the same process, partly for the reason that the newly created thread uses the current process address space.

4. Less communication expenses communicating between the threads of one process is easy because the threads share everything address space in particular. Consequently, data produced by one thread is right away available to all the other threads.

 


Related Discussions:- Explain the benefits of thread over process?

Interprocess communication, Now we consider the following questions: how ca...

Now we consider the following questions: how can the parent process communicate with its child? Or how can children processes communicate with other children? The exact answer depe

Paging, Paging full question

Paging full question

#title.Kernal, Ask questiWhat is dispatcheron #Minimum 100 words accepted#

Ask questiWhat is dispatcheron #Minimum 100 words accepted#

What is long-term, What is long-term, medium-term, short-term? In a bat...

What is long-term, medium-term, short-term? In a batch system many processes are submitted than are able to be executed immediately. These processes are reel to a mass storage

Several cpu-scheduling algorithms, Q. Several CPU-scheduling algorithms are...

Q. Several CPU-scheduling algorithms are parameterized for instance the RR algorithm requires a parameter to indicate the time slice. Multilevel response queues require parameters

Transfer time, A hard-disk drive reads “120 GB HDD 7200 rpm 3 GB/sec transf...

A hard-disk drive reads “120 GB HDD 7200 rpm 3 GB/sec transfer rate”. If the drive has a sector size of 512 bytes, what is the average rotational latency and transfer time to read

Paging, ___paging fecthces a page only when needed

___paging fecthces a page only when needed

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