Yep. I had a similar situation - in the end, I had to rewrite the
lengthy processing code to split the task up and process a couple of
items per frame, hooking into the ENTER_FRAME event. That kept the UI
responsive, which was my main concern.

2009/2/3 Shyam <shyammohan.sugat...@devicedriven.com>:
> 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
>>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>

Reply via email to