I have some asynchronous operations being performed on the main thread of my application. I need a worker thread to poll the main thread periodically and check a value on the main thread.
How can I do this? Can I raise an event on the worker thread that the main thread is listening to? Bidirectional communication.
Thanks..