As long as you're serializing the queue and can distinguish the various feeds, 
why do you need sequence numbers?

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> on behalf 
of Binyamin Dissen <00001773bcccb823-dmarc-requ...@listserv.uga.edu>
Sent: Monday, December 9, 2024 12:28 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: RES: RES: SETLOCK OBTAIN CML/CMS

External Message: Use Caution


If you have a queue with multiple feeders/eaters the pointer word is not
enough for integrity. You need a monotonic increasing sequence number which
you can play with CDS.

Once you get to multiple eaters with FIFO you need even more sequencing. PLO
and the transaction instructions allow that.

On Mon, 9 Dec 2024 13:47:57 -0300 João Reginato <jb.regin...@gmail.com> wrote:

:>Ok, then re-thinking it.
:>I just want the simplest way to do it and fewer CPU consumption
:>
:>
:>-----Mensagem original-----
:>De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Em nome
:>de Peter Relson
:>Enviada em: segunda-feira, 9 de dezembro de 2024 11:23
:>Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
:>Assunto: RES: RES: SETLOCK OBTAIN CML/CMS
:>
:><snip>
:>
:>I'm just adding an STAE recovery rtn in case of an abend leave the word busy
:></snip>
:>
:>If you have a "word" that can be left "busy" then your design ought to be
:>re-thought.
:>Your use of that phrase would usually indicate that one work unit is setting
:>a word "busy" and other work units, seeing that the word is "busy" either
:>wait or (worse) spin until the word is "not busy".
:>"Wait" leads to a design that is not responsive; "spin" can lead to deadlock
:>(in particular when on an image with only a single CPU, if the "holder"
:>might be lower priority than the "requestor").
:>
:>The approach mentioned by Jonathan Scott is one that is used in many cases
:>within z/OS.
:>
:>Peter Relson
:>z/OS Core Technology Design

--
Binyamin Dissen <bdis...@dissensoftware.com>
http://secure-web.cisco.com/1Sepnop62DurWoG_Pr1BhpUhRbJ__2NPYJayN1GWhQWc_l3h3PFX0RFdybMEBS66pDvA5TGap5Yd4n25QAlMrtuhm6UtAN7l1plyIFMKAT05tst4CWsniJxkID4DIJvmH_lu_ewGgWv77mTGQO192J1dP0wMekGD5O9oas82pNyKTQBywIMNh9E3xzQWk8YNpZwEJQeD97hBYo206VNFAf5M2HdcDTUrj7xzvPLIIVLnlV7-lNK9SOOEbI9Typ_Ov5cmbz79MDoKu8yUnwI-E-zInvLx_jvqmdE7VdRMBQkR50Y4sJcly7EjD2d34mWQYdWkn8waAhqtAU9h6tg7sSMvbpHwN2TVqJaRb2pE-0pb_IHIwYTQPLnXvZ_TWXdUwO0GXgrcvYG34BLmmp0UHw-vcYrmHljfw3zFdCQZHvkE/http%3A%2F%2Fwww.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

Reply via email to