I wrote the client-server program that user can send the task to operate at the server and user can stop the task in the server if it takes a long time. So I do the task in worker thread. The problem occur when the socket in the user interface thread receives the stop signal, at that time the worker thread sudddenly stops and causes the error. Is there anyway to solve this problem?
Sorry for my poor english.
Thank you very much for the suggestions.
Sorry for my poor english.
Thank you very much for the suggestions.