Reputation: 1691
I have a single-threaded MFC SDI application. When I run it in Visual Studio, the output window shows 2 threads exiting instead of one. It does this for both debug and release builds. Why is this?
Upvotes: 1
Views: 113
Reputation: 281435
Windows itself starts threads in order to perform work on behalf of your code. Other components like GDI+ and Sockets do the same thing. There's more to your process than just the code that you wrote!
Upvotes: 1