Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

Linking with /THREADS_ENABLE

Go to solution
Travis Craig
Frequent Advisor

Linking with /THREADS_ENABLE

I am on OpenVMS 7.3-1 and 7.3-2 on Alpha machines. The /THREADS_ENABLE qualifier on the LINK command is documented to affect the image being linked, by setting flags on the image to allow upcalls and multiple kernel threads when the image is executed. I have assumed that the qualifier would be needed only on executable images and that shared images would behave in accordance with whatever executable image was using them. Does anybody know whether I need to link my shared images with that qualifier, too?

--Travis Craig
My head is cold.
Volker Halle
Honored Contributor

Re: Linking with /THREADS_ENABLE


the /THREADS_ENABLE qualifier only sets bits the image header of the image being created.

The image activator only checks these bits when activating a MAIN image, not for shareable libraries/images.