I'm developing an application that receives data from the com port. The data are continuously logged to a file on hard drive, lost data can not be allowed. I encountered the following problem when pinch a window, the main thread is blocked, and the data are no longer written to the file. How can I solve this problem? I try make a record in a separate thread, but it did not help because the data obtained in the main thread, which is drawn interface. If any solutions to this problem?
Bookmarks