Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint
Drag to reposition
Contributed Answers

Producer Consumer Problem using Semaphores

Answered on 11th Oct, 2018, 0 Views

The producer consumer problem is a synchronization problem. There is a fixed size buffer and the producer produces items and enters them into the buffer. The consumer removes the items from the buffer and consumes them. A producer should not produce items into the buffer when the consumer is consuming an item from the buffer and vice versa. So the buffer should only be accessed by the pro.....

Remote Procedure Call (RPC)

Answered on 11th Oct, 2018, 0 Views

A remote procedure call is an interprocess communication technique that is used for client-server based applications. It is also known as a subroutine call or a function call. A client has a request message that the RPC translates and sends to the server. This request may be a procedure or a function call to a remote server. When the server receives the request, it sends the required respo.....

Deadlock Characterization

Answered on 11th Oct, 2018, 0 Views

A deadlock happens in operating system when two or more processes need some resource to complete their execution that is held by the other process. A deadlock occurs if the four Coffman conditions hold true. But these conditions are not mutually exclusive. They are given as follows: There should be a resource that can only be held by one process at a time. In the diagram below, there is .....

Message Passing vs Shared Memory Process communication Models

Answered on 10th Oct, 2018, 0 Views

Message passing model and shared memory model are models of interprocess communication. Details about these are given as follows: Message passing model allows multiple processes to read and write data to the message queue without being connected to each other. Messages are stored on the queue until their recipient retrieves them. Message queues are quite useful for interprocess communicat.....

Multi-Threading Models

Answered on 10th Oct, 2018, 0 Views

Multithreading allows the execution of multiple parts of a program at the same time. These parts are known as threads and are lightweight processes available within the process. Therefore, multithreading leads to maximum utilization of the CPU by multitasking. The main models for multithreading are one to one model, many to one model and many to many model. Details about these are given as.....

Shared Memory Model of Process Communication

Answered on 10th Oct, 2018, 0 Views

Process communication is the mechanism provided by the operating system that allows processes to communicate with each other. This communication could involve a process letting another process know that some event has occurred or transferring of data from one process to another. One of the models of process communication is the shared memory model. The shared memory in the shared memory mo.....

User-level threads and Kernel-level threads

Answered on 10th Oct, 2018, 0 Views

A thread is a lightweight process that can be managed independently by a scheduler. It improves the application performance using parallelism. A thread shares information like data segment, code segment files etc. with its peer threads while it contains its own registers, stack, counter etc. The two main types of threads are user-level threads and kernel-level threads. A diagram that demo.....

Different Models of Interprocess Communication

Answered on 28th Sep, 2018, 0 Views

Interprocess communication is the mechanism provided by the operating system that allows processes to communicate with each other. This communication could involve a process letting another process know that some event has occurred or transferring of data from one process to another. A diagram that illustrates interprocess communication is as follows: The models of interprocess communica.....

What is Context Switching in Operating System?

Answered on 28th Sep, 2018, 0 Views

Context Switching involves storing the context or state of a process so that it can be reloaded when required and execution can be resumed from the same point as earlier. This is a feature of a multitasking operating system and allows a single CPU to be shared by multiple processes. A diagram that demonstrates context switching is as follows: In the above diagram, initially Process 1 is r.....

What is Interprocess Communication?

Answered on 20th Sep, 2018, 0 Views

Interprocess communication is the mechanism provided by the operating system that allows processes to communicate with each other. This communication could involve a process letting another process know that some event has occurred or the transferring of data from one process to another. A diagram that illustrates interprocess communication is as follows: Synchronization is a necessary p.....

1 2 3 4 5 6 7 ... 21 Next
loader
Advertisements
Contribution

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.