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,334 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All   
   Re: PZMQ   
   15 Sep 25 20:34:59   
   
   From: arne@vajhoej.dk   
      
   On 9/15/2025 7:14 AM, hb0815 wrote:   
   > On 9/13/25 16:11, Arne Vajhøj wrote:   
   >>> $ pas s3   
   >>> $ link/thread s3 + pzmqdir:pzmq + pzmqdir:common + zmq$root:   
   >>> [lib]libzmq64/lib   
   >>   
   >> /thread is not strictly needed, but without it breaking the   
   >> infinite loop with CTRL/Y exits a bit hard.   
   >   
   > /THREAD enables upcalls and multiple kernel threads.   
   >   
   > The linker was changed to enable Upcalls whenever it sees that threads   
   > are used and no /THREAD was given. In this case the linker prints an   
   > informational message.   
   >   
   > If you link without /THREAD, do you see the linker message?   
      
   No.   
      
   >                                                            The shown   
   > "Upcalls are disabled. Multiple kernel threads are disabled" indicates   
   > you did not.   
   >   
   > If you do not see the message, then I assume the threaded code is in a   
   > shareable image. The linker does not check whether threads are used in   
   > shareables.  From the shown link command I don't see that a threaded   
   > shareable image is involved.   
      
   Correct. libzmq64.olb claims to be an "ELF OBJECT library".   
      
   > It would be interesting to know whether /THREAD=UPCALLS is enough to   
   > make this work. I suspect it is.   
      
   It is.   
      
   > Do you have any idea where threaded code is used?   
      
   The only library being used is libzmq, so it must be it.   
      
   And the upstream repo confirms that:   
      https://github.com/zeromq/libzmq/blob/master/src/thread.hpp   
      
   >                                                    What is ICTX?   
      
   No idea.   
      
   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