Awesome. Thanks heaps Jake!
Carl Scarlett Senior .NET/WPF Developer - Genesis Team IT Applications Delivery | bankwest A: Level 5, 199 Hay Street | Perth | Western Australia | 6004 P: (08) 9449 8703 M: 0408 913 870 E: carl.scarl...@bankwest.com.au From: ozsilverlight@ozsilverlight.com [mailto:ozsilverli...@ozsilverlight.com] On Behalf Of Jake Ginnivan <jake.ginni...@ioglobal.net> Sent: Wednesday, 12 August 2009 4:32 PM To: <OzSilverlight@ozsilverlight.com> Subject: RE: Wait for multiple Async calls to finish (SL3) 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: jake.ginni...@ioglobal.net www.ioglobal.net <http://www.ioglobal.net/> From: OzSilverlight@ozsilverlight.com [mailto:ozsilverli...@ozsilverlight.com] On Behalf Of Asheesh Soni Sent: Wednesday, 12 August 2009 3:49 PM To: OzSilverlight@ozsilverlight.com 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: ozsilverlight@ozsilverlight.com <mailto:ozsilverlight@ozsilverlight.com> Subscribe: ozsilverlight-subscr...@ozsilverlight.com <mailto:ozsilverlight-subscr...@ozsilverlight.com> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com <mailto:ozsilverlight-unsubscr...@ozsilverlight.com> 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> ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ________________________________ Support procedure: https://www.codify.com/lists/support List address: ozsilverlight@ozsilverlight.com <mailto:ozsilverlight@ozsilverlight.com> Subscribe: ozsilverlight-subscr...@ozsilverlight.com <mailto:ozsilverlight-subscr...@ozsilverlight.com> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com <mailto:ozsilverlight-unsubscr...@ozsilverlight.com> 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> _______________________________________________________________________________ Unencrypted electronic mail is not secure and may not be authentic. If you have any doubts as to the contents please telephone to confirm. This electronic transmission including any attachments is intended only for those to whom it is addressed. It may contain copyright material or information that is confidential, privileged or exempt from disclosure by law. Any claim to privilege is not waived or lost by reason of mistaken transmission of this information. If you are not the intended recipient you must not distribute or copy this transmission and should please notify the sender. Your costs for doing this will be reimbursed by the sender. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. _______________________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________-------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: ozsilverlight@ozsilverlight.com Subscribe: ozsilverlight-subscr...@ozsilverlight.com Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists