K
Kelly Adams
I am stumped at the moment by something, and the searching I've done
hasn't led to a clear answer. Here is what I want to do:
I have two threads: thread A and thread B. I want Thread B to raise
an event that will be handled within the context of thread A. By
default, an event raised by Thread B will be processed within thread
B's context. That's not what I want.
What is the best / simplest way to accomplish this? I've looked at
using delegates and BeginInvoke, but the way I read it that creates
yet another thread using the thread pool- I want to hand the event to
a specific, already running thread.
Thoughts?
Kelly Adams
hasn't led to a clear answer. Here is what I want to do:
I have two threads: thread A and thread B. I want Thread B to raise
an event that will be handled within the context of thread A. By
default, an event raised by Thread B will be processed within thread
B's context. That's not what I want.
What is the best / simplest way to accomplish this? I've looked at
using delegates and BeginInvoke, but the way I read it that creates
yet another thread using the thread pool- I want to hand the event to
a specific, already running thread.
Thoughts?
Kelly Adams