Tech Off Post

Single Post Permalink

View Thread: I was told today to not worry cross-thread execution when...
  • User profile image
    wkempf

    Minh said:
    wkempf said:
    *snip*
    I could've sworn I saw a post from ScottGu contradicting Jeff's post (which was in March).... Let me see if I can hunt it down.
    Looking at the official Silverlight 2 documentation, no, the model is the same as WPF.  It's vastly simplified (Dispatcher doesn't have the concept of priority, for instance), but still the same model.  Actually, I find it interesting that Dispatcher doesn't have an Invoke method.  For that matter, DispatcherOperation doesn't have a Wait() method.  This means Silverlight provides "one way" context switches, and you have to roll your own solution for returning results.  I'd say WPF is several steps up from Silverlight, unlike your initial claim.