[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GS/OS and IRQs - strange thing



In article <jmk3.734718273@crux1.cit.cornell.edu> Jay Krell,
jmk3@crux3.cit.cornell.edu writes:
>[...] try a run queue
> routine in addition to the scheduled task. The busy flag sometimes stays
> set for a while when the system is somewhat callable. ie: Run queue
> tasks are called with the busy flag set, I think, because (again unsure)
> GetNextEvent is running. If I am right, a run queue task will continue
> to be called while modal windows/dialogs are up.

Run Queue tasks *can* get called while the Busy flag is set, but they are
not guaranteed to be called regularly.

Run Queue tasks -do- get called during most modal dialogs, because
ModalDialog and DoModalWindow call SystemTask.  (SystemTask is what calls
run queue tasks; just GetNextEvent doesn't do it.  TaskMaster calls
SystemTask, too.)


David A. Lyons, Apple Computer, Inc.      |   DAL Systems
Apple II System Software Engineer         |   P.O. Box 875
Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875

My opinions are my own, not Apple's.