"destruk" wrote:
And no, it's not doing these in a task because the task execution priority is way too slow at 6+ seconds to do this same thing. The task does the download, and thread 2 does the parsing. The threads don't time out if you're parsing fewer than 350 items with xml, or fewer than 500 or so items with JSON, so that is sufficient for my needs.
Thanks for the other info.
I am at a loss on this though - what do you mean by "thread 2" or "throws what it downloaded over to the parsing routine in a different thread"? How can you create another thread?
From what i know, you have 3 kinds of threads:
- one main() thread
- one render thread (where you shouldn't parsing anything and i thought these functions are blocked there)
- task threads
So if my "math" is right, you can only parse XML/JSON in the main thread or a task thread - and neither of these should be timing out. So there is something i am getting wrong - what is it?