On Sun, 24 Aug 2008 15:19:22 +0200 Lindy Mayfield <[EMAIL PROTECTED]>
wrote:

:>Binyamin Dissen on 24. elokuuta 2008 14:10
:>Wrote:

:>:>Those are good points that I'm still figuring out.  Though I'm not
:>:>totally sure what you mean.

:>:>A branch to R14 seems to be returning me to the point just after the
:>SRB
:>:>schedule.  PARM= on the macro allows me to put something in R1 that I
:>:>can use.  I would assume this is the address of some common storage.

:>>> No, it does not. The SRB runs asynchronously. You can receive control

:>>> before the SRB is scheduled (though that is quite unlikely if
:>scheduling 
:>>> to the current address space when unlocked).

:>Which means my primary address space needs to wait for the SRB to
:>finish, correct?  Do I do that by using an ECB waiting on the SRB to
:>post?

Depends on the logic. If you need the results to proceed, yes.

Also consider SUSPEND/RESUME.

And watch your terminology. It is the task in your HOME address space that
needs to wait. You cannot make the primary address space (i.e., a task in the
primary address space) wait unless you schedule some work there. 

:>I'm glad you said this because I had made wrong assumptions.  I need to
:>figure out where a BR 14 from the SRB is taking me.

I would expect the SVC 3 in the CVT.

:>:>Also I would have to save R14 for later because it would get used up
:>:>other things.

:>>> You do realize that SRB's have a linkage stack?

:>I do now. (-:  A small yet important point I didn't think about.

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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

Reply via email to