Hi all,
I asked if there’s a way to run http.request asynchronously, possibly wrapped in a coroutine but got no answer. I therefore guess you use enter frame-event to keep up with the GUI and something else for the other stuff.
Say that you want to implement the youtube app in iPhone (we’ve all used that one). You search for clips, and you render the set in a list. The part of the list which shows has its icons loaded.
How would you structure a program like this? The code in the event enter frame event loop takes care of where you’ve scrolled to and all that, but how do we tell another “thread” to do the work so the enter frame event is not blocked? A new coroutine per icon load? Some thread pool pattern?
Thanks,
Marcus [import]uid: 4441 topic_id: 1181 reply_id: 301181[/import]