Operating System - OpenVMS
1753359 Members
6764 Online
108792 Solutions
New Discussion

Re: 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 1
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.