Re: Keeping OT app responsive?
Re: Keeping OT app responsive?
- Subject: Re: Keeping OT app responsive?
- From: "Thomas E. Knowlton, Jr." <email@hidden>
- Date: Thu, 26 Feb 2004 10:18:45 -0700
Oops - I'm reposting now only for the purpose of fixing the subject.
Quoting Quinn <email@hidden>:
>
Subject: Re: Keeping OT app responsive?
>
To: email@hidden
>
From: Quinn <email@hidden>
>
Date: Thu, 26 Feb 2004 10:42:49 +0000
>
>
At 20:18 -0700 25/2/04, Thomas E. Knowlton, Jr. wrote:
>
> The watchdog in OTVirtualServer fails with respect to UI response,
>
> and while I continue to experiment to find a sweet spot, I wonder if
>
> anyone here can comment on how often (at a minimum) the UI/WNE needs
>
> to run in order to appear responsive?
>
>
I would reverse the question, and ask how long you can spend in your
>
notifier before the UI starts to appear unresponsive. My guess is that
>
running your notifier for more than 100 ms will start to produce
>
noticeable drop outs in the UI.
Ok, now putting it that way makes me want a timer task to preempt the
notifier, to set a flag that says "your 100ms is up, please exit as
soon as you possibly can..."
Which leads to my next question: will an OTTimerTask that runs at
deferred task time reliably preempt a notifier function that runs at
deferred task time? Or will the time manager give me that kind of
preemption? Or...? :)
Thanks,
--
Tommy
>
Quinn "The Eskimo!"
>
<http://www.apple.com/developer/>
>
Apple Developer Technical Support * Networking, Communications,
>
Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.