HPlogo   NetIPC 3000/XL Programmer's Reference Manual:
HP 3000 MPE/iX Computer Systems
> Appendix D Migration From PTOP to NetIPC and RPM

Terminating Processes

MPE documents

Complete PDF

 

Table of Contents

Glossary

Index

 

⇓ Page Bottom

⇑ Page Top

 

Exchanging Data

Example: Client-Server Application

The final phase is the termination of the slave process, and the shutting down of the communications channel between the master and the slave. With PTOP, both of these functions are performed by the PCLOSE intrinsic. With NetIPC and RPM, the process termination is done by RPMKILL, while the channel is shut down by IPCSHUTDOWN. In both PTOP and NetIPC/RPM, clean up on the slave is done automatically upon its termination.

To convert the PTOP intrinsic listed below, perform the following steps.

Syntax


 PCLOSE (dsnum)
  
  • Call RPMKILL to terminate the slave by using the program descriptor returned by RPMCREATE.
  • Call IPCSHUTDOWN to shutdown the master's end of the virtual-circuit connection.



Exchanging Data

Example: Client-Server Application