Pretty straightforward question...
Writing in .NET (vb to be more precise)
How do I create a
thread and have it do nothing except wait to receive an event notification, at which point some code gets executed and once the code is complete, the thread goes idle again and waits for the next notification?
I've found that if you create and start a thread that doesn't do anything, it just starts, stops and is gone.
Thanks in advance