Jaa


More on Multithreaded UI in WPF

Multithreading support in WPF has been much on my mind lately, especially with my MediaBarrage app.

Dwayne Need has a nice discussion of multithreaded UI here. His quick demo is very informative and shows how to compose pieces of UI from different threads. This is especially useful when you need concurrency for DependencyObjects.

Comments

  • Anonymous
    May 01, 2007
    Client-side multi-threading is something I do day-in, day-out, and I have to say that the whole treatment of thread-safety for data held/cached on the client is rather poor. The only thing we have today (and I mean since .NET 1.0, and apparently going into 3.5) is the SynchronizationAttribute placed on classes that inherit from ContextBoundObject. Of course, this comes with a huge performance penalty. Is there something that WPF does that doesn't appear at the BCL level?

  • Anonymous
    May 01, 2007
    The comment has been removed