Open System Services Programmer's Guide
OSS Process Pairs.................................................................................................................158
OSS Process Pairs Overview..............................................................................................158
OSS Process Pair Considerations........................................................................................158
OSS Process Pair Creation................................................................................................159
OSS Process Attributes......................................................................................................159
Process Status Display......................................................................................................160
Known Restrictions...........................................................................................................160
Other Considerations.......................................................................................................160
File Number Conflicts.......................................................................................................161
4 Managing Memory................................................................................162
Flat, Selectable, and Extended Segments.................................................................................162
Flat Segments..................................................................................................................162
Selectable Segments........................................................................................................163
Native Processes..................................................................................................................163
TNS Processes......................................................................................................................163
User-Created Segments.........................................................................................................163
OSS Shared Memory Segments..............................................................................................163
Guardian Memory Segments.................................................................................................164
Memory-Management Interoperability.....................................................................................164
Pool Functions......................................................................................................................165
5 Managing Time.....................................................................................166
Common and Unique Characteristics.......................................................................................166
Features Common to UNIX and OSS Time Management.......................................................166
Features Unique to OSS Time Management.........................................................................167
Time-Management Interoperability..........................................................................................167
Querying the System Clock....................................................................................................167
Querying Process Times.........................................................................................................168
Limiting Processor Time Use....................................................................................................168
OSS Time-Management Functions...........................................................................................169
Guardian Time-Management Procedures.................................................................................171
6 Interprocess Communication....................................................................174
Available Methods................................................................................................................174
Common and Unique Characteristics.......................................................................................175
Features Common to UNIX and OSS Interprocess Communication..........................................175
Features Unique to OSS Interprocess Communication............................................................176
Interprocess-Communication Interoperability.............................................................................176
Using Guardian AF_INET and AF_NET6 Sockets, and OSS AF_INET and AF_INET6 Sockets.....177
Using AF_UNIX Sockets....................................................................................................187
Using FIFOs....................................................................................................................189
Using Shared Memory......................................................................................................189
Using the $RECEIVE File...................................................................................................191
Performance Considerations...................................................................................................195
OSS Interprocess-Communication Functions..............................................................................196
Guardian Interprocess-Communication Procedures....................................................................203
7 Managing I/O......................................................................................207
Common and Unique Characteristics.......................................................................................207
Features Common to UNIX and OSS Terminal I/O Management............................................207
Features Unique to OSS Terminal I/O Management.............................................................207
I/O Interoperability...............................................................................................................207
Tape I/O.............................................................................................................................208
Tape I/O With pax .........................................................................................................208
Tape I/O With the Guardian API.......................................................................................209
Terminal I/O........................................................................................................................210
Contents 5