Compaq AAR-88LB-TE Network Router User Manual


 
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