c# - Can I use a SynchronizationContext to post or send work to a thread currently running a message pump? -
if have thread run:
application.run();
if post or send work thread, work run in thread?
*edit bit more information.
the exact utilize case follows. if pulled synchronizationcontext off of forms ui thread. if posted or sent work thread using post() or send() methods of synchronizationcontext object, ui thread execute work or there other mechanism work executes?
yes, work. reply pulled from:
http://www.codeproject.com/articles/31971/understanding-synchronizationcontext-part-i
c# multithreading
No comments:
Post a Comment