The Artima Developer Community
Sponsored Link

.NET Buzz Forum
SyncInvoker - keep your GUI responsive during lengthy synchronous calls

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Max Zone

Posts: 9170
Nickname: dzone
Registered: Jun, 2006

dzone.com is a link-sharing community where member participation determines what gets published
SyncInvoker - keep your GUI responsive during lengthy synchronous calls Posted: Apr 19, 2007 1:09 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Max Zone.
Original Post: SyncInvoker - keep your GUI responsive during lengthy synchronous calls
Feed Title: dzone.com: .net
Feed URL: http://www.dzone.com/feed/frontpage/.net/rss.xml
Feed Description: dzone.com: fresh .net links for developers
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Max Zone
Latest Posts From dzone.com: .net

Advertisement
I'm sure you've tried all the techniques, from making the calls in separate threads to wrapping them in classes that fire events when the call is complete. All the techniques I've seen use some combination of events, threads and state machine approaches, but all this leads to code that is much more complicated that it need be. Fundamentally, you are just making a sequential series of synchronous calls. In this article I am going to look at how to address this problem in a straightforward way, making your code readable and very maintainable.

Read: SyncInvoker - keep your GUI responsive during lengthy synchronous calls

Topic: NSpecify.Framwork Beta 1 release Previous Topic   Next Topic Topic: JetBrains TeamCity 2.0 Released

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use