home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,880 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All   
   Re: CMA_   
   02 Dec 25 11:18:36   
   
   From: arne@vajhoej.dk   
      
   On 12/2/2025 9:50 AM, Arne Vajhøj wrote:   
   > On 12/1/2025 10:29 PM, Craig A. Berry wrote:   
   >> On 12/1/25 9:22 PM, Arne Vajhøj wrote:   
   >>> What does one link with to make a program using CMA_ functions   
   >>> run?   
   >>>   
   >>> Linking with sys$share:cma$open_rtl does not give any link   
   >>> errors.   
   >>>   
   >>> But it seems like whatever I call then I get:   
   >>>   
   >>> %CMA-F-EXISTENCE, object referenced does not currently exist   
   >>>   
   >>> So I guess I should be linking with something else. But what?   
   >>>   
   >>> VMS 9.2-3 if it matters.   
   >>   
   >> Isn't there an image called CMA$TIS_SHR?   
   >   
   > Yes.   
   >   
   > I tried adding that, adding PTHREAD$RTL in various combinations.   
   >   
   > Same error.   
   >   
   > I also tried on VMS Alpha - same problem. So it is not a x86-64   
   > problem - I am doing something wrong.   
      
   Found it.   
      
   Second argument to pthread_create is a pthread_attr_t*.   
      
   NULL works fine.   
      
   Second argument to cma_thread_create is a cma_t_attr*.   
      
   NULL gives the error above.   
      
   A cma_t_attr memset to zero works.   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca