Background and Multi-Thread examples?

Anyone have any example code that shows how to run background threads (under iOS4 and Android), and also make them run on system startup?
Also - an example shows how to work with multiple threads in general? I only see Coroutines in the Lua documentation - which is cooperative and not preemptive. Does that mean you can’t do preemptive threads in Corona?

[import]uid: 6396 topic_id: 1493 reply_id: 301493[/import]

For the Multi-thread example - I am picturing an app that is running and in-use by the user, and has a background thread that gets and retrieves some data via HTTP without slowing down the user’s UI.
[import]uid: 6396 topic_id: 1493 reply_id: 4176[/import]

Under Lua and Corona, and that is your set of tools, you can only do cooperative threads atm. [import]uid: 5712 topic_id: 1493 reply_id: 4177[/import]

is there a way to create a background task that can be registered with the OS to launch on startup? [import]uid: 6396 topic_id: 1493 reply_id: 4183[/import]