What are threads?

Answers were Sorted based on User's Feedback



What are threads? ..

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

What are threads? ..

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

What are threads? ..

Answer / prakash p

A part of a program that can execute independently of other
parts.

Is This Answer Correct ?    6 Yes 3 No

What are threads? ..

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

Post New Answer

More Unix Threads Interview Questions

What are the different kinds of threads?

3 Answers   Ericsson, Fashion Technology,


Explain what are the main families of threads?

0 Answers  


What is the working set of a process?

0 Answers  


How to work unix commands on windows xp without installing unix o/s in pc?

0 Answers  


Explain how to work unix commands on windows xp without installing unix o/s in pc?

0 Answers  






What is Critical section?

13 Answers   TCS,


What are threads?

4 Answers  


what is Scheduling?

3 Answers   Hexaware,


Explain what is scheduling?

0 Answers  


Explain similarities between thread and process?

0 Answers  


Protection boundary??

1 Answers  


how to edit the network interface device type in container(zone) in solaris 10?

2 Answers   TCS,


Categories