HP OpenVMS Systems

ask the wizard
Content starts here

Thread-safety, re-entrancy, and BASIC?

» close window

The Question is:

The Online DECthreads documents lists the languages that can generate reentrant
 code in section 4.1.1, VAX-Basic is not mentioned in that section.
My questions are ,
1. is the VAX-Basic compiler capable of generating reentrant code, if so, what
 are the compiler and linker switches to be used?
2. is the basic runtime system on the alpha threadsafe?
Bharat Karia

The Answer is :

  Reentrancy typically has rather less to do with the compiler and the
  compiler-generated code than with the run-time environment, and
  particularly with the programming constructs used within the source
  code that is input into the compiler.
  The OpenVMS Wizard is not particularly aware of the completion of any
  investigations into the thread-safety of the BASIC RTL.

answer written or last revised on ( 28-JUL-2000 )

» close window