I have a postgres database, which I insert records into. A record maybe 8k-8mb in size, this works ok. However there is an obvious delay in the insert so I have put all the code in a thread with a priority of 1.
Problem is, it locks the UI up when its doing the insert, even though the insert is inside a thread? is this right is insertrecord not able to run correctly in a thread?
Anyone seen this or have a solution that does not involve running separate EXE’s as the app store does not like that if I recall.