On Thu, 17 Oct 2019 at 08:54, Thomas David Rivers <riv...@dignus.com> wrote:

> Does anyone happen to know the best way for a running task
> to give up running and let another task run?

> Sorta like "I'm done for the moment if something else would like to run".

This sounds so wrong right from the start. Or rather, sounds like
something that you might do if you were running on a thermostat or the
controller for a microwave or something, i.e. some environment where
there aren't OS services to manage all this.

I'm very curious about what has led you to believe you need to do
this. Has the work to be done somehow changed in importance? If so,
how would you discover this fact on the fly?  Can you give a
real-world example of why you'd want to yield to someone else, rather
than have the Powers That Be manage CPU resources for you?

If you *do* somehow discover that your work has become less important,
you might consider calling WLM to tell *it* that this is the case,
i.e. by changing the service class the work is in.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to