which is best among pipes, queues, shared memory and why?

Answer Posted / chetan

shared memory is best because of
-kernal persistancy
-No destructive reading
-just single pointer is enough to do read and write operation
-No size limit for data
-No need worry about broken pipe,blocking,msg structure(msg
que).
-simple to work out,no extra things to keep in mind other
than freeing it by last process.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a 64 bit operating system?

578


What is plumbing/piping?

586


What are the main advantages of the microkernel approach to system design?

694


What is sdram?

577


Can a system detect starvation?

532






What is gang scheduling in operating system (os)?

599


What are 3 operating systems?

529


What is the buddy system of memory allocation in operating system (os)?

583


Can you access a variable within a worker thread from the main thread?

537


What is rufus usb tool?

542


How to recovery from deadlock?

579


What are the three types of operating systems?

530


What is operating system give two examples?

537


What are the different operating systems?

623


Which is better 32 bit or 64 bit?

549