Open System Services Porting Guide (G06.24+, H06.03+)
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction to Porting
- 2 The Development Environment
- 3 Useful Porting Tools
- 4 Interoperating Between User Environments
- Purpose of Interoperability
- The OSS User Environment
- OSS Commands for the Guardian User
- Guardian Commands for the UNIX User
- OSS Pathname and Guardian Filename Conversions
- Running the OSS Shell and Commands From TACL
- Running Guardian Commands From the OSS Shell
- Running OSS Processes With Guardian Attributes
- Using OSS Commands to Manage Guardian Objects
- 5 Interoperating Between Programming Environments
- 6 OSS Porting Considerations
- 7 Porting UNIX Applications to the OSS Environment
- 8 Migrating Guardian Applications to the OSS Environment
- General Migration Guidelines
- C Compiler Issues for Guardian Programs
- Using New and Extended Guardian Procedures
- Using OSS Functions in a Guardian Program
- Interoperating With OSS Programs
- Starting an OSS Program From the Guardian Environment
- C Compiler Considerations for OSS Programs
- Porting a Guardian Program to the OSS Environment
- How Arguments Are Passed to the C or C++ Program
- Differences in the Two Run-Time Environments
- Which Run-Time Routines Are Available
- Use of Common Run-Time Environment (CRE) Functions
- Replacing Guardian Procedure Calls With Equivalent OSS Functions
- Which IPC Mechanisms Can Be Used
- Interactions Between Guardian and OSS Functions
- 9 Porting From Specific UNIX Systems
- 10 Native Migration Overview
- 11 Porting or Migrating Sockets Applications
- 12 Porting Threaded Applications
- A Equivalent OSS and UNIX Commands for Guardian Users
- B Equivalent Guardian Commands for OSS and UNIX Users
- C Equivalent Inspect Debugging Commands for dbx Commands
- D Equivalent Native Inspect Debugging Commands for dbx Commands
- E Standard POSIX Threads Functions: Differences Between the Previous and Current Standards
- Glossary
- Index
Index
Open System Services Porting Guide—520573-006
Index-21
P
Process creation
across processors 6-14, 6-15, 6-22
calls 6-16
differences between environments 5-2
functions
Guardian attributes 6-13
specific to HP 7-27
UNIX environment 6-13
Guardian attributes 5-2
Guardian environment variables 4-8
OSS attributes 5-2
OSS shell 4-8
performance 6-13
procedures 5-7
PROCESS_SPAWN_ procedure
See PROCESS_SPAWN_
procedure
static server 6-23
Process group Glossary-10
Process group ID Glossary-10
Process group leader Glossary-10
Process group lifetime Glossary-10
Process handle
changing by exec set of functions 7-24
Guardian 5-2, 7-27
process-management 5-8
Process ID
not for Guardian processes 7-23
OSS
See OSS process ID (PID)
Process identification number (PIN),
Guardian 4-15
Process image file Glossary-10
Process lifetime Glossary-10
Process limits, OSS environment 7-17
Process management
Guardian procedures 8-13
OSS functions 5-8
performance concerns 5-8
procedures 5-8
Process target type 8-15
Processes
accessing 7-23
bridge 8-20
controlling, Guardian procedures 7-26
environment functions 1-3
Guardian
See Processes, Guardian
Guardian attributes 7-27
intermediate 8-20
interoperability 5-6
memory when starting 8-17
OSS
See Processes, OSS
parent
See Parent process
PROCESS_SPAWN_, creating 7-26
security 7-23
side effects when starting 8-17
stopping 4-15
terminating 4-23, 5-9
Processes, Guardian
See also Processes
accessing FIFOs with 6-9
displaying status of 4-15, 4-23
no process ID 7-23
OSS attributes 7-8
shared memory 8-19
status 4-15, 4-23
terminating 4-23
Processes, OSS
See also Processes
compared with UNIX processes 7-8
created by LISTNER process 8-24
creating 7-8
Guardian attributes 7-8
Guardian functions 7-8
inheritance features 8-22
listing 4-11