I have seen that my Delphi app has more than one thread - 7 more exactly. OF COURSE I am not creating my own threads and I am only using 'classic' VCL controls. The program is idle. It just displays the main form. No dialogs are active, no personal/Indy/etc threads running.
- Wasn't supposed to have just one thread (the VCL main thread)?
- How do I know which of these (already running threads) is the main thread?
Note 1: This is related to Program freezes but the CPU utilization is zero
Note 2: I just realized that 2 or 3 of those threads are from the debugger (extra threads appear when I pause the program and invoke the 'CPU view' window).