Hi Jamal, things have delayed me from exploring your suggestion here, but I finally wrote a test shared object, and as far as I can tell, the shared object itself executes in it's own thread; not in the thread of the client script as I had supposed.
my tests aren't definitive; I simply invoked a routine in the shared object, and got it to speak the clientInformation properties, and they were the ones set by the shared object for itself, and not those set by the client script, even though I made the call from the client script. this is good news for me; it means I can have at least one more thread for each shared object I can construct such that it has some sort of asynchronous processing task to do. just calling it's routines obviously doesn't help me much, as they're done synchronously, and then I'd have to have something else using up cycles in the client script (I guess a timer or event handler would make this work out ok). anyway, just wanted to say thanks. communication between the client and the shared object should be possible, so this should work for me. I do have a shared object question for anyone: is it possible to raise an event in the client script? that is, can I implement events in the object I'm sharing? I didn't see any documentation on this so far. thanks. Chip -----Original Message----- From: Jamal Mazrui [mailto:empo...@smart.net] Sent: Wednesday, August 12, 2009 12:39 PM To: gw-scripting@gwmicro.com Subject: Re: a question re threading Regarding Chip's question about developing a multi-threaded script, might that be possible by using StartScript to launch another script in a new thread and using a SharedObject, if necessary, to communicate between them? Jamal