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

Linking with /THREADS_ENABLE

 
SOLVED
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.
1 REPLY
Volker Halle
Honored Contributor
Solution

Re: Linking with /THREADS_ENABLE

Travis,

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.

Volker.