What are threads?
Answers were Sorted based on User's Feedback
Answer / guest
A thread is an encapsulation of the flow of control in a
program. Most people are used to writing single-threaded
programs - that is, programs that only execute one path
through their code "at a time". Multithreaded programs may
have several threads running through different code
paths "simultaneously".
| Is This Answer Correct ? | 12 Yes | 4 No |
Answer / sowmya
thread is a light weight process which besides inside the
address space of a process.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / prakash p
A part of a program that can execute independently of other
parts.
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / dhruv
In simple words, A dis-patchable unit of work. It includes a
processor context (which includes the program counter and
stack pointer) and its own data area for a stack (to enable
subroutine branching). Threads are created in a process. A
thread executes sequentially and is interruptable so that
the processor can turn to another thread.
| Is This Answer Correct ? | 0 Yes | 2 No |
what is Context switch?
what are the Architectural differences between User-space threads, and Kernel-supported threads.
Explain what is scheduling?
How would you kill a process?
Explain the architectural differences between user-space threads, and kernel-supported threads?
How to work unix commands on windows xp without installing unix o/s in pc?
What is protection boundary?
If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?
Explain what is critical section?
What is the working set of a process?
Explain what are threads?
Explain similarities between thread and process?