DesktopX Threading

How to pass that ball?

Tuesday, May 15, 2007 by TwoWolves | Discussion: OS Customization

According to the DesktopX documentation a script object that runs in a different thread cannot access the methods or properties of a script in the main thread.
 
So how do I pass data obtained in the retrieval thread back to the object in the main Object thread loop?
 
I guess I could write it to a file and then send a state change to the master object in order to tell it to read the file but that's a bit of a kludge.
 
Do any of the DesktopX gurus know of a more elegant way of doing this?

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01