Published Jun 30, 2023
Imatest IT in multi-threaded and multi-process environments
Imatest IT uses the Matlab runtime library which is a single-threaded routine that is not thread-safe.
If your tester application uses multiple threads, you should restrict all the parts that call upon the Imatest library to a single thread.
If your tester application uses multiple processes be careful about using busy waiting in order to check for the results of the test to occur. Without a sleep statement inside your loop, the rapidly looping process will prevent context switching to other processes, which will prevent them from running and consume a large amount of CPU resources causing both processes to freeze.
See Also
If you want to run multiple processes with Imatest calculations, please see:
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
Can Imatest IT run multiple instances in Parallel?
Can Imatest IT run multiple instances in Parallel?
More like this
Best Practices for Calling Imatest IT Libraries
Best Practices for Calling Imatest IT Libraries
More like this
Calling Imatest IT from MATLAB
Calling Imatest IT from MATLAB
More like this
Debugging Imatest IT
Debugging Imatest IT
More like this
Visual Studio Compiler Settings for Imatest IT
Visual Studio Compiler Settings for Imatest IT
More like this
Imatest freezing on macOS for 2021.1 and prior
Imatest freezing on macOS for 2021.1 and prior
More like this