adplus-dvertising
frame-decoration

Question

What is the internal data structure of a thread?

a.

A memory address space

b.

A code module

c.

A context data structure combined with one or two memory blocks

d.

A scheduler and a dispatcher

Posted under Reverse Engineering

Answer: (c).A context data structure combined with one or two memory blocks Explanation:A thread is nothing but a data structure that has a CONTEXT data structure telling the system the state of the processor when the thread last ran, combined with one or two memory blocks that are used for stack space.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the internal data structure of a thread?

Similar Questions

Discover Related MCQs

Q. Why does a thread in Windows need two stacks?

Q. What are the components responsible for managing threads in Windows?

Q. Can a thread be interrupted while running in kernel mode in the Windows architecture?

Q. Are all Win32 APIs interruptible?

Q. What is the process of achieving concurrency with multiple threads in a multithreaded kernel?

Q. Why do threads frequently give up the CPU on their own volition?

Q. What is one example of a common Win32 API that causes a program to wait?

Q. What happens when a program calls the GetMessageWin32 API and there are no messages in the queue?

Q. What does the kernel do when an application performs a slow I/O operation?

Q. What is preemptive scheduling?

Q. What is a thread's quantum?

Q. How does the operating system monitor how long a thread has been running?

Q. What happens when a thread's quantum is up?

Q. How does the kernel ensure that a thread has no idea that it was ever interrupted?

Q. What is the main challenge of synchronizing multiple threads in the same program?

Q. What do synchronization objects allow two or more threads to do?

Q. What is the purpose of putting blocked threads in a special wait state?

Q. Why must the scheduler be aware of synchronization objects?

Q. What are synchronization objects used for in multithreaded programming?

Q. What is an event in multithreaded programming?