Re: How does ATTACH pass address of ECB to child?



Would you mind, Paul, giving a couple of examples of real life programs
that you are thinking about?

I know personally that I couldn't get my head around this stuff unless I
imagined some sort of application and how it would work using threads.

Three things came to mind: How does DB2 do it? What would an HTTP
server do? What about sort that divides the work among different
threads?

In my imaginings the total number of "structures" to handle was
something like TotalThreads=N*Cpu_count, but was always fixed at any
given time.

That was just my guess.

Thanks,
Lindy



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxx] On
Behalf Of Paul Gilmartin
Sent: 23. tammikuuta 2008 1:00
To: IBM-MAIN@xxxxxxxxxxx
Subject: Re: How does ATTACH pass address of ECB to child?

Aha! At last I see. That answers my question to Peter R. But I
was envisioning a technique in which only one task at a time updates
the queue, handing it back and forth with two ECBs. Now there's
still need to manage concurrent accesses to the queue. I suppose
CS can be used for that purpose.

Whenever the queue is empty, the queue emptier WAITs. But if the
queue is storage constrained, it can fill up. What does the
queue filler do then?

Thanks,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Remote delivery question
    ... It puts my mind a little at ease. ... you said but for each "company.com" listing, in the right hand window, the ... It is like this on all the listings in the queue. ... > Hi Jim, ...
    (microsoft.public.exchange.admin)
  • Re: mailto in html
    ... John Hosking wrote: ... Mind you, it is nowhere near the back of the queue. ... speak for itself. ...
    (alt.html)
  • Re: What add-ons are working?
    ... You can now queue for any BG from the honour page, ... I'll need to check this, how could I have missed that in the patch notes, or ... life) and that tends to 'stretch time' in my mind. ... Or is this early onset senility? ...
    (alt.games.warcraft)
  • Re: What add-ons are working?
    ... is required with my fubar plugin doing this. ... You can now queue for any BG from the honour page, ... I'll need to check this, how could I have missed that in the patch notes, or ... life) and that tends to 'stretch time' in my mind. ...
    (alt.games.warcraft)
  • Re: How does ATTACH pass address of ECB to child?
    ... put the request on a queue and then POST the ECB on which the service ... The service task wakes up, clears the ECB, and then pulls ... And you still need a design that covers the case in which a POST ... Any request arriving just ...
    (bit.listserv.ibm-main)