>Now I think Dispatcher runs of what is called a WEB(Work element 
>block), although I suspect it is still looks at WCF to determine 
>if it wants to dipstach the TCB.
>
>I am curious when was the last time they changed the Dispatcher 
>code!!!

The last major change was done with MVS/ESA V5, but I'm sure there
have been other changes thereafter.

Since MVS/ESA V5, the dispatcher doesn't have to scan TCB queues for
ready work. The WUQ (work unit queue) only has elements for ready
work units, and they are in priority order. It can pick the top
element and dispatch it on the free CPU.

When a ready work unit (TCB or SRB) is taken from the CPU, it is
put on the WUQ. When a work unit is going to wait for an asynchroneous
event, it is not put on the WUQ while waiting. When it later becomes 
ready again it is put back on the WUQ.

-- 
Peter Hunkeler
Credit Suisse

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