Titanium Help

7 views
Skip to first unread message

Gmail

unread,
Aug 31, 2012, 1:11:54 PM8/31/12
to Refresh...@googlegroups.com
Refreshers,

I'm developing an Appcelerator Titanium application. I've gotten pretty far along in development and read that Windows could be used to create new threads. This would be great for offloading blocking operations to, but I can't seem to get it to work the way I think it should.


Basically, the "worker" window is still blocking the main app. Any help would be much appreciated :)

Thanks,
-john

Bert Grantges

unread,
Aug 31, 2012, 4:54:24 PM8/31/12
to refresh...@googlegroups.com
Hey John -

first things first, console.log won't work in Titanium - just replace with Ti.API.debug though :)

In running your code, i am able to see what your referring to - its an interesting issue. The separate contexts are created, as you'll note the lack of capacity to reference globally scoped variables from window to window. However, I'm not sure if the clock related functions are setup in their own context or not (possibly similarly to the UI thread). I've sent this internal to see if I can get some feedback.

In the mean time, what kind of blocking issue are you running into, my guess is that there is another way to accomplish what you are looking for?

Feel free to ping me direct, bertg_AT_grantges_DOT_com

Bert



--
Our Web site: http://www.RefreshAustin.org/
 
You received this message because you are subscribed to the Google Groups "Refresh Austin" group.
 
[ Posting ]
To post to this group, send email to Refresh...@googlegroups.com
Job-related postings should follow http://tr.im/refreshaustinjobspolicy
We do not accept job posts from recruiters.
 
[ Unsubscribe ]
To unsubscribe from this group, send email to Refresh-Austi...@googlegroups.com
 
[ More Info ]
For more options, visit this group at http://groups.google.com/group/Refresh-Austin

Reply all
Reply to author
Forward
0 new messages