9.194 SET_FOR_LIGHT_USAGE

Sets a function for light usage mode.

Arguments

No Argument Values.

Return Values

No Return Values.

Technical Notes

  • This Built-In Function allows a function to dynamically change from heavy usage to light usage (and vice-versa). For example:

          if (*jobmode = B)
        use SET_FOR_HEAVY_USAGE
    else
        use SET_FOR_LIGHT_USAGE endif
  • At every entry or (re)entry the heavy/light usage option is set by the calling parent process, or adopted from a *DIRECT caller, so at every invocation you should positively (re)set the usage option.

  • This built-in executes very quickly and imposes little overhead.

  • No labels