No results generated for multi-threaded console app
Brian Donahue
Posts: 6,590 Bronze 1
Hi Keith,
Thanks for writing us about this. When a multithreaded console application is closed using the close button or CTRL-C, the application's threads are not proplerly shut down and ANTS Profiler doesn't realize that the application has finally exited.
The only way that ANTS Profiler is going to know that the application had been successfully closed is if the application traps the CTRL-C event or the window closing event and stops all of the running threads. The alternative to having to re-write the code is to use ANTS Profiler's 'snapshot' function to get the results.
Thanks for writing us about this. When a multithreaded console application is closed using the close button or CTRL-C, the application's threads are not proplerly shut down and ANTS Profiler doesn't realize that the application has finally exited.
The only way that ANTS Profiler is going to know that the application had been successfully closed is if the application traps the CTRL-C event or the window closing event and stops all of the running threads. The alternative to having to re-write the code is to use ANTS Profiler's 'snapshot' function to get the results.
This discussion has been closed.
Comments