http://themechanicalbride.blogspot.com/2009/07/introducing-rx-linq-to-ev
ents.html

 

Have a look at this, the Silverlight team use it in their unit testing.
I still have not used it yet, but really keen to dive in and use this
stuff.

 

Jake Ginnivan

IT Coordinator

 

ioGlobal Pty Ltd.

ISO 9001 Quality Certified

Resource Analytics & Data Systems Automation

T:  +61 8 6555 6510

F:  +61 8 6311 3256

M:  +61 403 846 400

E:  [email protected]

www.ioglobal.net <http://www.ioglobal.net/> 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Asheesh Soni
Sent: Wednesday, 12 August 2009 3:49 PM
To: [email protected]
Subject: Wait for multiple Async calls to finish (SL3)

 

Any one knows a better / cleaner way to do this than:

http://silverlight.net/forums/t/12437.aspx
http://silverlight.net/forums/t/72631.aspx

I have already dumped daisy-chaining of calls in favor of multiple async
calls with a boolean flag for each. 
After calling all the async operations, I am using a DispatcherTimer
ticker event to poll if all the flags have been set.
Works like a charm, and a huge improvement in performance and
readability over the chaining. But still not the perfect solution.

I couldn't get this one to work:
http://stackoverflow.com/questions/811855/threading-multiple-async-calls
-silverlight
The thread sleeps for ever on the 1st .waitone call.

Any ideas?

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected]
<mailto:[email protected]> 
Subscribe: [email protected]
<mailto:[email protected]> 
Unsubscribe: [email protected]
<mailto:[email protected]> 
List FAQ: http://www.codify.com/lists/ozsilverlight
<http://www.codify.com/lists/ozsilverlight> 
Other lists you might want to join: http://www.codify.com/lists
<http://www.codify.com/lists>  

--------------------------------------------------------------------------------
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

Reply via email to