Re: How does ATTACH pass address of ECB to child?
- From: lindy.mayfield@xxxxxxxxxxx (Lindy Mayfield)
- Date: 22 Jan 2008 15:29:05 -0800
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
.
- Follow-Ups:
- Re: How does ATTACH pass address of ECB to child?
- From: Gerhard Postpischil
- Re: How does ATTACH pass address of ECB to child?
- References:
- Re: How does ATTACH pass address of ECB to child?
- From: Paul Gilmartin
- Re: How does ATTACH pass address of ECB to child?
- Prev by Date: Re: How does ATTACH pass address of ECB to child?
- Next by Date: Re: Some help with GDG dataset control
- Previous by thread: Re: How does ATTACH pass address of ECB to child?
- Next by thread: Re: How does ATTACH pass address of ECB to child?
- Index(es):
Relevant Pages
|