DEVFYI - Developer Resource - FYI

What is a thread?

Windows programming Interview Questions and Answers


(Continued from previous question...)

22. What is a thread?

A thread describes a path of execution within a process. Every time a process is initialized, the system creates a primary thread. This thread begins executing with the C/C++ run-time library’s startup code, which in turn calls your entry-point function ( main , Wmain , WinMain , or WWinMain ) and continues executing until the entry-point function returns and the C/C++ run-time library’s startup code calls ExitProcess

(Continued on next question...)

Other Interview Questions