I have a Win32 native VC++ application that upon entering WinMain()
starts a separate thread, then does some useful job while that other thread is running, then simply exits WinMain()
- the other thread is not explicitly stopped.
This blog post says that a .NET application will not terminate in this case since the other thread is still running. Does the same apply to native Win32 applications?
Do I have to stop all threads prior to exiting?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…