|
INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
WINDOWS PROGRAMING
DETAILS
Question: What is a thread?
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
|
|
|
Category |
Windows Programing Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9438 users |
Added on |
9/11/2014 |
Views |
67396 |
Rate it! |
|
|
Question:
What is a thread?
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 Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is DuplicateHandle (API)?
|
View Answer
|
|
What do you mean by unnamed object?
|
View Answer
|
|
What are Named Objects?
|
View Answer
|
|
What about the usage count in the parent child process tables?
|
View Answer
|
|
Why the entries in the parent process table and child table are same?
|
View Answer
|
|
How the handles are handled in the child process?
|
View Answer
|
|
What is the need of process relative handles?
|
View Answer
|
|
You forget to call CloseHandle - will there be a memory leak?
|
View Answer
|
|
What happens when the CloseHandle(handle) is called?
|
View Answer
|
|
How the handle helps in manipulating the kernel objects?
|
View Answer
|
|
What is handle?
|
View Answer
|
|
Name few functions that create Kernel Objects?
|
View Answer
|
|
What is the purpose of Process Handle Table?
|
View Answer
|
|
How to identify the difference between the kernel object and user object?
|
View Answer
|
|
Which is the data member common to all the kernel object and what is the use of it?
|
View Answer
|
|
How does the kernel object outlive the process that created it?
|
View Answer
|
|
How owns the Kernel Object?
|
View Answer
|
|
If we cannot alter these Kernel Object structures directly, how do our applications manipulate these kernel objects?
|
View Answer
|
|
User can access these kernel objects structures?
|
View Answer
|
|
What is a kernel object?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Windows Programing Interview Questions & Answers - Exam Mode /
Learning Mode
|