Usually the threads must not be stopped by
Abort. The potential problems, including deadlocks, are described in documentation for this function. It also depends on what your
GetLoadText and Stop are doing. You can use an event (e.g.
ManualResetEvent), which will be checked periodically in your thread to terminate the operations.
Marked as answer byRageshShivaThursday, November 01, 2012 7:42 AM