Compaq AAR-88LB-TE manual Threaded Applications, DDTM Support, Current Issues

Page 35

Running Version 2 Applications

6.6 Threaded Applications

6.6 Threaded Applications

With RTR Version 3, applications that rely on threading may not work exactly the same way they worked with RTR Version 2 on OpenVMS.

Applications that use kernel threads with RTR Version 2 will not work with RTR Version 3. RTR Version 2 was thread-reentrant, but the RTR Version 2 layer in RTR Version 3 on OpenVMS and Windoes should not be called from more than one thread. When writing threaded applications, a developer should consult OpenVMS documentation for information on what can be done at AST level in a threaded application. For example, see the DEC C Run-Time Library Reference Manual for OpenVMS Systems, Section 1.7.1, ``Reentrancy'', for restrictions on the simultaneous use of OpenVMS ASTs and threads.

The RTR Version 3 API can be called from multiple threads when linked with the multi-threaded version of the RTR shared library provided with RTR for DIGITAL UNIX, Windows NT/95, Sun Solaris, or AIX.

6.7 DDTM Support

RTR Version 2 provides limited support for DDTM (DECdtm™) in RTR Version 3.1D and later.

6.8 Current Issues

Certain server applications that worked with RTR Version 2 may not work correctly with RTR Version 3. In RTR Version 3, server applications must have outstanding $DEQ_TX calls for each server channel at all times. RTR Version 2 could tolerate breaking of this condition; RTR Version 3 does not.

Running Version 2 Applications 6–5

Image 35
Contents Compaq Computer Corporation Houston, Texas Reliable Transaction Router Migration GuideJune Operating SystemFirst Printing, December Revised, June Preface ContentsInstallation Network IssuesPerformance Tips 8 Problem Diagnosis and ReportingSystem Management 6 Running Version 2 ApplicationsIndex Tables Page Organization of This Guide PrefaceAudience Conventions Related DocumentsReaders Comments monospace Page Introduction 1.1 Why Migrate?1.3 Reading Guidelines Introduction 1.1 Why Migrate?1.2 Goals and Nongoals 2.1 Cleaning Up the Old Version 2 Environment Installation2.5 Process Quotas Installation 2.2 Preserving the Old Environment2.2 Preserving the Old Environment 2.3 Can Both RTR Version 2 and Version 3 Coexist On the Same Node?Table 2-1 OpenVMS Limits 2.6 Journal IssuesInstallation 2.5 Process Quotas 2.6.2 Journal Compatibility Installation 2.6 Journal Issues 2.6.1 Removing the Old Journal2.7 Rights and Privileges 2.8 Memory and Disk RequirementsTable 2-2 OpenVMS Disk Requirements 2.9 Rollback to RTR Version2.8 Memory and Disk Requirements DEASSIGN/SYSTEM/EXEC RTRSHRPage 3.3 The Shared Library LIBRTR.EXE 3.2 Command Server ProcessArchitectural Changes 3.1 RTR Daemon Process3.7 Counters 3.4 The ACP Process3.5 Interprocess Communication 3.6 Shared Memory Parameters3.9 Server-Process Partition States 3.8 Quorum IssuesArchitectural Changes 3.8 Quorum Issues Page 4.2 TCP/IP Support Network Issues4.1 DECnet Support 4.3.1 Supported Products Network Issues 4.3 Specifying a Preferred Transport4.3 Specifying a Preferred Transport 5.3 Creating Facilities System Management5.1 OpenVMS Quotas 5.2 Startup5.5.1 RTR Version 2 Screens 5.4 Interoperability5.5 Monitoring System Management 5.4 InteroperabilityTable 5-3 New RTR Version 3 Monitor Pictures 5.5 Monitoring5.5.3 User Parsing of Monitor Output 5.5.4 User Customized Monitors5.11 Interpreting Output from SHOW Commands 5.6 Remote Command Support5.9 Using RTR Version 2 Command Procedures 5.10 Command Line Interface Support for RTR Version 2 APITable 5-5 Obsolete OpenVMS RTR Utility Commands 5.12 Comparing RTR Version 2 and Version 3 Utility CommandsSystem Management 5.11 Interpreting Output from SHOW Commands Table 5-4 Cont. Changed SHOW COMMANDSTable 5-6 Cont. New OpenVMS RTR Utility Commands 5.12 Comparing RTR Version 2 and Version 3 Utility Commands6.1 Comparison of OpenVMS API and Portable API Running Version 2 ApplicationsTable 6-1 OpenVMS API and Portable API Comparison 6.2 Recompiling and RelinkingRunning Version 2 Applications 6.1 Comparison of OpenVMS API and Portable API6.2.1 RTR Version 2 Applications Running on RTR Version Running Version 2 Applications 6.2 Recompiling and Relinking6.5 Support for $GETTXI 6.3 Running Applications Installed with Privileges6.3 Running Applications Installed with Privileges 6.4 Application Level InteroperabilityRunning Version 2 Applications 6.6 Threaded Applications 6.8 Current Issues6.6 Threaded Applications 6.7 DDTM SupportPage 7.3 RTR Startup Qualifiers Performance Tips7.1 Process Quotas 7.2 Journal SizingPerformance Tips 7.6 Simultaneous Multiprocessing 7.6 Simultaneous Multiprocessing8.3 Dump File Problem Diagnosis and Reporting8.2 RTRERROR.LOG File 8.1 RTR Operator Log4. Enter the OpenVMS ANALYZE/SYSTEM SET PROCESS RTRACP command 8.6 Contents of the RTR Journal FileProblem Diagnosis and Reporting 8.4 Producing and Directing a Trace 1. Enter the SHOW PROCESS RTRACP/CONTINUOUS OpenVMS commandIndex