CS 4504 Lecture Notes - Lecture 4: Application Programming Interface, Distributed Computing
Document Summary
Interprocess communications (ipc) is the backbone of distributed computing. Ipc the functionality for separate processes to communicate with each other among themselves to collaborate on a task. Process is a runtime representation of a program. An ipc application program interface (api) expanded to application programming interface gives a programming knowledge and logic to create ipc: Send this command is issued by a process to send data. Receive this command is issued by a process to accept data. Connect there must be a connection and a protocol between sending process and accepting process. Disconnect a logical connection is cut off. It is important to synchronize events in order for the system to function properly. Certain events will be stopped till the issued command by the process will be completed. 4 types of synchronization: synchronous send and synchronous receive, receive operation on pc 2 is suspended and sending process on pc 1 is suspended till pc.