|
I don't think it uses *any* resources while it's waiting (CPU resources anyway). It's not as if it loops on checking the queue, nor even that it wakes up every so often to check it. When a pgm like QRCVDTAQ does a dequeue MI instruction and there are no entries on the queue, the SLIC puts the waiting job to sleep and records the fact that it's waiting by adding an entry to a list of "waiters." Then the SLIC checks the list of "waiters" only when a new entry arrives on the queue. Until then there are zero CPU cycles used. (That's my understanding anyway.) --Dave Jon Paris wrote:
Anyone know anything about the mechanics of QRCVDTAQ "under the hood". In particular does it use much in the way of resource while waiting? Jon Paris Partner400 www.Partner400.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.