just a question - how thread safe is MEF?
I am tasked writhing a high performance visualization framework. The application will be modular (allowing generated visualizations to hook in). It requires a lot of processing power, though, so it will have multiple windows (allowing it to run on multiple
screens), and every window will have it's own message pump.
This basically means that when one window is working (setting things up etc.), another window may ask for components in another thread.
Anything I should be aware of? MEF thread-safe enough for that, or will I have to route certain things into one main user interface thread? The intial setup of the application is single threaded - right until the main thread moves into the control window
message loop ;) Then through it's menues (and loading an existing layout) multiple windows can be created.
Obviously this means that when I do things like refreshing the catalog..... or asking for new instances..... this may happen on multiple threads.
Problems to be expected? What should I be watching out for?