Afaik a running actionscript operation is never interrupted. If you are iterating over a collection and an update comes from the server, the iteration will be finished before the update of the collection.
Cheers, Ralf On 7/21/06, m88e24 <[EMAIL PROTECTED]> wrote: > I don't know how the Flash player operates but I can imagine that it > is multithreaded. When using FDS for delivering async messages to the > client it is imperative that access to local functions or collections > can be synchronized in some way. Let's say I'm iterating over the > values in a collection and an async messages arrives adding or > removing an item to or from the collection. What will happen? How are > things synchronized in ActionScript? Is there some sort of > synchronized mechanism in ActionScript like in Java? Is there a design > pattern to mimic synchronized behaviour? > > Has anyone given this topic any thought? I hope to hear from you. > > > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > -- Ralf Bokelberg <[EMAIL PROTECTED]> Flex & Flash Consultant based in Cologne/Germany ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

