SynchronizationContext.Current is null?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • news.microsoft.com

    SynchronizationContext.Current is null?

    Hello
    I'm trying to use this object to synchronize operations between threads.
    Everything is working fine as long as I'm raising events (through the
    synccontext object) from threads to the main thread, but I can't do it the
    other way around.
    For some reason, inside threads (other than the main thread) the "Current"
    property is null.
    Any ideas why?
    Thanks


Working...