HPlogo

Interprocess Communication: Programmer's Guide: HP 3000 MPE/iX Computer Systems

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

HP Part Number: 32650-90019

Edition: Edition 1

Published: Printed in U.S.A. November 1987


Table of Contents

Preface
1 What is Interprocess Communication?
Purposes of IPC
Ways to Perform IPC
2 IPC Using Job Control Words and Other Variables
Types of Variables
Relationship of JCWs and Variables
Variable Intrinsics
HPCIPUTVAR
HPCIGETVAR
HPCIDELETEVAR
Variable Commands
:SETVAR
:SHOWVAR
:DELETEVAR
Job Control Words
Using the Predefined JCW for Interprocess Communication
Using User-Defined JCWs for Interprocess Communication
Job Control Word Intrinsics
SETJCW
PUTJCW
FINDJCW
Job Control Word Commands
:SETJCW
:SHOWJCW
Special Considerations
Displaying JCWs and Variables
Warning Messages
Additional Discussion
3 IPC Using File System Intrinsics
Characteristics
Creating a Message File
How To Use IPC--A Simple Case
Program Structure
Message File Names
IPC Processing
End-of-File (EOF) Conditions
Recovery From Abnormal Terminations
Sample Programs
4 Special Cases of IPC
Multiple Concurrent Readers or Writers
Preventing Deadlocks
Writer Identification
Extended Wait
Timeouts
Nondestructive Reads
Forcing Records To Disc
5 NOWAIT I/O
NOWAIT I/O Intrinsics
Aborting NOWAIT I/O
Limitations
Examples
6 Software Interrupts
Example—Use of Software Interrupts
Software Interrupt Intrinsics
Software Interrupt Initialization
Interrupt Handler
Main Line Code
Disarming Software Interrupts
Restrictions
Sample Program--Use of Software Interrupts
7 Interprocess Communication Via the MAIL Facility
Restrictions
Definition of Mail
Mail Transfer Process
Testing Mailbox Status
Sending Mail
Receiving (Collecting) Mail
Avoiding Deadlocks
A Features of Intrinsics for Message Files
Intrinsics Not Allowed for Message Files
Intrinsics Exclusive to IPC
A Note On Syntax
HPFOPEN
FCONTROL
FCHECK
FGETINFO
FFILEINFO
B Sample Programs: WAIT I/O
C Sample Programs: NOWAIT I/O
D Sample Programs: Software Interrupts
SPL Examples
Pascal Examples
Index

List of Figures

3-1 IPC Processing
Feedback to webmaster