can anyone please explain the concept of dispatcher, is it one dispatcher per thread or anything else
+1
A:
If you're asking in reference to c#, a dispatcher...
...maintains a prioritized queue of work items for a specific thread.
When a Dispatcher is created on a thread, it becomes the only Dispatcher that can be associated with the thread, even if the Dispatcher is shut down.
..so yes, one per thread.
Jon Cage
2010-04-13 07:58:16
i get a dispatcher property for a button "btnTest.Dispatcher" what does this mean
taher chhabrawala
2010-04-14 09:37:08
it means the button is derived from a `System.Windows.Threading.DispatcherObject`. Look at the Inheritance heirarchy here: http://msdn.microsoft.com/en-us/library/ms609089%28v=VS.85%29.aspx
Jon Cage
2010-04-14 11:19:08