Windows Programming Question:

What is a thread?

Windows Programming Interview Question
Windows Programming Interview Question

Answer:

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


Previous QuestionNext Question
What are types of kernel objects?What is Mutex Object and why it is used?