Browse over 20 million
homework answers & study documents

Inter Process Communications

Rating

Showing Page:
1/32

Sign up to view the full document!

lock_open Sign Up

Sign up to view the full document!

lock_open Sign Up

Sign up to view the full document!

lock_open Sign Up

Unformatted Attachment Preview

06 0430 CH055/22/0110:22 AMPage 955Interprocess CommunicationCHAPTER 3, PROCESSES, DISCUSSED THE CREATION OF PROCESSES and showedhow one process can obtain the exit status of a child process.Thats the simplest formof communication between two processes, but its by no means the most powerful.Themechanisms of Chapter 3 dont provide any way for the parent to communicate withthe child except via command-line arguments and environment variables, nor any wayfor the child to communicate with the parent except via the childs exit status. Noneof these mechanisms provides any means for communicating with the child processwhile it is actually running, nor do these mechanisms allow communication with aprocess outside the parent-child relationship.This chapter describes means for interprocess communication that circumvent theselimitations.We will present various ways for communicating between parents and children, between unrelated processes, and even between processes on differentmachines.Interprocess communication (IPC) is the transfer of data among processes. For example,a Web browser may request a Web page from a Web server, which then sends HTMLdata.This transfer of data usually uses sockets in a telephone-like connection. Inanother example, you may want to print the filenames in a directory using a commandsuch as ls | lpr.The shell creates an ls process and a separate lpr process, connecting06 0430 CH05965/22/0110:22 AM ...
Purchase document to see full attachment

Anonymous
Return customer, been using sp for a good two years now.

Anonymous
Thanks as always for the good work!

Anonymous
Document I purchased was really helpful. Had answers to help me with my hmw.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4