Hello,
I've got this problem and I'm not sure where to post it or how to fix it. I think the problem has to do with thread blocking. Anyway...
I have this program that is a record management type of program. It uses a web service and threading. The program keeps a history of all the records that were entered into it and changed.
What the program is doing... When the program is open, it generally allows the user to create new records and edit new records among other things. However, the program has timers that at specific interval are coded to retrieve database information. When these timers run, the application "freezes"... the user cannot click on any records, edit any records, or create any records until the database information has been retrieved into the program. This happens every 3 to 5 mins and the app freezes for 30 seconds or so. The application also freezes when a record is inserted or updated. Does this sound like a threading problem? If so, how can I fix it? Are there any good examples for threading?
Thanks.
Heather
I've got this problem and I'm not sure where to post it or how to fix it. I think the problem has to do with thread blocking. Anyway...
I have this program that is a record management type of program. It uses a web service and threading. The program keeps a history of all the records that were entered into it and changed.
What the program is doing... When the program is open, it generally allows the user to create new records and edit new records among other things. However, the program has timers that at specific interval are coded to retrieve database information. When these timers run, the application "freezes"... the user cannot click on any records, edit any records, or create any records until the database information has been retrieved into the program. This happens every 3 to 5 mins and the app freezes for 30 seconds or so. The application also freezes when a record is inserted or updated. Does this sound like a threading problem? If so, how can I fix it? Are there any good examples for threading?
Thanks.
Heather