Quantcast
Viewing latest article 17
Browse Latest Browse All 19

THreading in Titanium

Hi,

I was wondering how can I have multiple threads running within Titanium. I have to perform an expensive task (synchronization between local DB and a server) that would freeze the UI if I can not put it in a separate process. I tried to put it in another Window, but I found new Window !== new thread. Simply run a while(true) loop in the new Window, no more events will be fired in the app.js.

Does anybody already have experience with threading in Titanium ?


Viewing latest article 17
Browse Latest Browse All 19

Trending Articles