HP OpenVMS Systems

ask the wizard
Content starts here

C++ run-time problem? (atol)

» close window

The Question is:

Why would enabling kernel threads cause atol()
errors ?
Dear Wizard,
I have a multi-threaded C++ program that needs
to process in excess of 100 million records.
Why would the atol() function return 0 or 17
or 18 when given 02 as input with kernel
threads enabled, and not when they are
disabled ?

The Answer is :

  Please contact the support center -- additional details and a more
  complete example or a standalone reproducer will be required.
  Threading is not necessarily a performance enhancement.
  The OpenVMS Wizard will assume you are familiar with available
  sorting calls within OpenVMS -- the SORT/MERGE facility -- and
  within the C RTL.

answer written or last revised on ( 24-APR-2002 )

» close window