I have a program that performs a lengthy database import. I've put all the db loading code into a thread to keep from locking up the GUI during operation. The the thread has completed operation, it raises an Event.
My question; The code that catches the Event runs in which thread, the GUI thread or the db thread that raised the Event?
Thanks,
Bernie
PS: Are there any good books on threading that you would recommend? I'd like to upgrade my knowledge in this area.
My question; The code that catches the Event runs in which thread, the GUI thread or the db thread that raised the Event?
Thanks,
Bernie
PS: Are there any good books on threading that you would recommend? I'd like to upgrade my knowledge in this area.