S211KENO@HTIKUB5.BITNET (12/03/87)
According to the LAT documentation a LAT print symbiont can be created with the command $ INITIALIZE/QUEUE/PROCESSOR=LATSYM The (undesired) effect is that, due to the /PROCESSOR qualifier, for every LAT printqueue a seperate symbiont is created. So there are as many LAT symbiont processes as LAT printqueue's. My questions: - is one LAT symbiont able to handle more than one LAT printqueue, like the standard symbiont is able to serve several standard printqueue's ? - if so, how to accomplish this ? ------------------------------------------------- Kees Noyens Surfnet : KUBVX1::S211KENO Bitnet : S211KENO@HTIKUB5.BITNET Internet: S211KENO%HTIKUB5.BITNET@CUNYVM.CUNY.EDU
mike@VAX.OIT.UDEL.EDU ("Michael J. Porter") (12/04/87)
When a server is initialized, it tells the job controller how many queues it can handle. I would guess that the latserver can handle only 1 and is telling the job controller that. It is pretty difficult to write a multi-threaded symbionent. All static variables have to be defined relative to a context pointer. When the job controller calls the sybm, it will pass the context, which you would then have to add to all offsets in order to access your static data. The only way I know of to do this easily is to put all your data on the stack. You would make as many stacks as threads you want to support. When the job controller calls your server, you would modify the stack pointer to point to the proper stack for the queue. mike@vax.oit.udel.edu ------
rad@MITRE-BEDFORD.ARPA (Dick Dramstad) (12/16/87)
Kees, >According to the LAT documentation a LAT print symbiont can be created >with the command $ INITIALIZE/QUEUE/PROCESSOR=LATSYM >The (undesired) effect is that, due to the /PROCESSOR qualifier, for every >LAT printqueue a seperate symbiont is created. So there are as many LAT >symbiont processes as LAT printqueue's. My questions: >- is one LAT symbiont able to handle more than one LAT printqueue, like > the standard symbiont is able to serve several standard printqueue's ? According to a speaker at DECUS last week who talked about new features of VMS LAT software, the VMS Version 4.6 version of latsym is multi-threaded, and can support up to 32 print queues. >- if so, how to accomplish this ? It may be in the 4.6 release notes (LAT is talked about there since the LAT-Plus functionality (reverse LAT, etc.) is now bundled into regular VMS LAT. Dick Dramstad rad@mitre-bedford.arpa