Yes. If you write a lengthy process anywhere in Flex, it must finish before any of *your* other code will run.
Tracy Spratt Lariat Services Flex development bandwidth available ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Shyam Sent: Tuesday, February 03, 2009 6:25 AM To: [email protected] Subject: [flexcoders] Re: Are flex events really thread safe? so if i write a lengthy (time consuming) operation in my event handler i will delay flex from calling the listener even if the other network operations complete....hmmm Thanks Paul. --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Paul Andrews" <p...@...> wrote: > > ----- Original Message ----- > From: "Shyam" <shyammohan.sugat...@...> > To: <[email protected] <mailto:flexcoders%40yahoogroups.com> > > Sent: Tuesday, February 03, 2009 10:29 AM > Subject: [flexcoders] Are flex events really thread safe? > > > > Consider this scenario. > > > > > > i have issued some 5 network calls form the flex client and my > > complete event Handler is one and the same for all these http calls. > > > > can i be 100% sure that two simultaneous controls will never execute > > the code in my event Handler ? > > The flash player only has one thread of execution. > > > Putting it another way: how does flex handles event synchronization? > > > > i have read up Ted Patrics article on the Elastic Racetrack > > (http://www.powersdk.com/ted/2005/07/flash-player-mental-model-elastic.p hp <http://www.powersdk.com/ted/2005/07/flash-player-mental-model-elastic.p hp> ) > > but couldnt figure out the answer for the above :( > > > > Regards > > Shyam >

