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

Re: GS/OS and IRQs - strange thing



>- the signal handler is running ALL THE TIME. The scheduler - not. The
>scheduler "pauses" exactly then when my signal handler crashed, namely
>while another application was being loaded, a modal dialog box was open
>etc.

Henrik,
  This could get messy and still might not be good enough, but 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.

Is what you are doing is signaling/scheduling in an interrupt routine?
What exactly are you trying to do.


--
  --Jay, jay.krell@cornell.edu