J
Jon Davis
I have a Windows Forms application where I normally had two threads running,
with the second thread started by a main window. The second thread ran in
the background just fine. Then I made some changes and I had the second
thread initiated in a separate window ("owned" by the first thread)--a
progress window that adds a system tray icon--and now I'm finding, whether
coincidentally or not, that the main window locks up when the second thread
is busy (waiting on a web server response). Does anybody know what some
typical causes could explain what might be causing synchronocity between two
threads? If it matters, the second thread does have delegates / events that
get sent to the main window to update the status bar, but those event
handlers don't lock up the application (they basically just update the
status bar text). That is the only thing I know of that
Thanks for any ideas...
Jon
with the second thread started by a main window. The second thread ran in
the background just fine. Then I made some changes and I had the second
thread initiated in a separate window ("owned" by the first thread)--a
progress window that adds a system tray icon--and now I'm finding, whether
coincidentally or not, that the main window locks up when the second thread
is busy (waiting on a web server response). Does anybody know what some
typical causes could explain what might be causing synchronocity between two
threads? If it matters, the second thread does have delegates / events that
get sent to the main window to update the status bar, but those event
handlers don't lock up the application (they basically just update the
status bar text). That is the only thing I know of that
Thanks for any ideas...
Jon