Hi Doug, Oh, for instance, get some info out of a particular dictionary object. I test if it exists, and then when I go to get info out of it, I get an error because it no longer exists, because some other event handler has removed it (as it should); but these types of conflicts where objects are created and modified and deleted by more than one thread really could use some atomic control, and I was wondering if anyone had already solved this issue.
It's not always dictionary objects, it another example two different threads need access to a single resource in a third com automation server; each one needs it for a few statements, before it can then be released to be used by another thread. without some atomic control here, they could end up interfering with each other's use of it. thanks. Chip -----Original Message----- From: Doug Lee [mailto:[email protected]] Sent: Friday, May 28, 2010 7:26 AM To: [email protected] Subject: Re: atomic operations in VBScript What specifically are you wanting to do atomically? On Fri, May 28, 2010 at 07:07:50AM -0400, Allison and Chip Orange wrote: Hi all, I need to coordinate some activity between various event handlers and timer generated events in a VBScript. I was wondering if there was any way of having atomic operations in a VBScript to do this? any other suggestions? thanks. Chip -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on-Demand mailto:[email protected] http://www.ssbbartgroup.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller
