Joe White’s Blog

Life, .NET, and Cats


Control.Invoke, BeginInvoke, and InvokeRequired

I just ran across an article by Justin Rogers explaining Control.Invoke, BeginInvoke/EndInvoke, and InvokeRequired in depth.

This is not light reading. But there are some interesting consequences to the way these things are implemented, that I wouldn’t have expected. (E.g., Invoke doesn’t just invoke a single delegate, even if you call it from the UI thread: it actually adds your delegate to the queue, and then processes the entire queue.)

There are no responses to “Control.Invoke, BeginInvoke, and InvokeRequired” yet.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Joe White's Blog copyright © 2004-2008. Portions of the site layout use Yahoo! YUI Reset, Fonts, and Grids.
Proudly powered by WordPress. Entries (RSS) and Comments (RSS).