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 flexcoders@yahoogroups.com, "Paul Andrews" <p...@...> wrote: > > ----- Original Message ----- > From: "Shyam" <shyammohan.sugat...@...> > To: <flexcoders@yahoogroups.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.php) > > but couldnt figure out the answer for the above :( > > > > Regards > > Shyam >