It's possible that there's a bug which keeps downloading, however it
shouldn't affect the rendering since that's on a background thread not
owned by us. The only interaction is a mutex after the feed is
entirely downloaded to swap the pointer to the new structure.
Troy
On Apr 2, 2008, at 12:08 PM, vade wrote:
Sorry I should have been more clear:
Basically, these compositions can be switched / toggled on and off
at random by a user.
Toggling off means renderAtTime is not called for say Renderer 1,
but instead by for Renderer 2.
So lets say Renderer 1 has been running for a while, and has a timer
to download some rss feeds occasionally
And I was curious if they 'keep downloading' even if when the
renderer associated with the composition does not have renderAtTime
called in the interim, seeing as how it is threaded (or.. not).
basically most of the time I do not get any stuttering/delays, but
occasionally I will get a large delay. I was curious if this was the
download patches getting funky. It was more of an academic question.
Thanks again,
On Apr 2, 2008, at 1:48 PM, Christopher Wright wrote:
Do plugins such as Image Downloader, Rss Downloader, XML
Downloader etc run when renderAtTime is *not* called?
As in, do they run if renderAtTime is never called? If you never
call it, they shouldn't ever execute. I don't think that's what
you meant though :)
Those are all threaded patches, so when you call renderAtTime, they
do a little dance, but the interesting parts are fired in a
separate thread that sometimes takes a bit to complete (at least,
when they're in async mode, which is the default). I'm not sure if
QC does thread-pooling, which may cause some strange stalls if
there are lots of outstanding stale requests, or if they're all
their own thread (which would then have fun lock stalls instead of
pool stalls). I think the Image Downloader does some caching now
(Tiger's didn't), but I'm not sure of its limits. Perhaps the
others do too? I've not played with them enough to know for sure :/
Maybe try setting synchronous mode in all of them, and then see
what happens?
--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]