TestStand is getting hung up at the end of my test. I'm trying to kick off a new test thread. All that thread does is call the TestFunction() in my c++ dll. I have another function that is called in my main test that is using a function in the same dll called StopTestFunction(). When StopTestFunction is run it sets a global variable to false which should cause the thread to finish since TestFunction() will finish. Once TestStand gets through the test it simply gets hung up at the end and I have to kill the application with task manager. Am I doing something wrong when I create the test thread? I attached an image of the sequence and some code with the functions mentioned above.
↧