Maybe I didn't explain my question.

I'm just looking for advice on what Job attributes to consider to determine
if a job is active or not.

I've already got the CallStackEntry array. I'm also considering the job
active status.

Is there anything else that would be a good indicator that a job is active
and not hung up?

... what's your definition of "hung up"?
a job could be waiting for an event: end of another job, end of another
thread, user input, a message from another job, an external ressource. In
most of these cases it might be impossible making an automatic decision if
the job could be waiting forever.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.