Hello everyone,

I have an SRB that is scheduled to run in a target address space. The SRB 
attempts to determine the status (wait, active and ready) of all TCBs from 
job step down. The SRB holds the local lock before attempting to check the 
status. I'm trying to figure out a couple of things: 

1) How can the SRB determine if the TCB is ready to execute (i.e. 
dispatchable)?

2) What other things besides the TCBACTIV bit, must be tested in order to 
know if a TCB is active?. I found an old post (cached on Google from IBM-
MAIN dated 10Sep1999) that says the following... 
..."Don't assume anything about TCBACTIV. The entire picture of a task's
dispatchability is incredibly volatile and (paraphrasing Alice) you have to
look at several unbelievable things at once to get the full picture.
Fortunately the dispatcher is the only guy who really needs to and he's
twisted anyway "...

Any help would be greatly appreciated.

Thanks,
Vic

----------------------------------------------------------------------
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