I have created a thread, and in the thread’s Run event, it calls a method that opens a large text file and reads the data and loads it into a JSONItem.
When I call Thread.Run, the whole program stops until the thread finishes. It’s like it’s not running on a thread at all. Changing it’s priority even to 1 makes no difference.
I put a breakpoint after calling Thread.Run, and it doesn’t hit the breakpoint until the file is completely loaded.
Is there a limitation on what can be done in the Thread (no UI stuff is in there)? I read that any methods it calls will run within that thread too, so that shouldn’t be blocking the main thread, should it?
What am I missing?