What are threads?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me when should we use thread-safe "_r" library calls?

536


Explain what is scheduling?

608


Explain what are the main families of threads?

570


Explain similarities between thread and process?

588


Explain the performance differences between user-space threads and kernel-supported threads.?

592






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?

624


Explain what is protection boundary?

570


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

518


Explain what is critical section?

553


Explain what are threads?

631


Explain the architectural differences between user-space threads, and kernel-supported threads?

510


How would you kill a process?

628


explain about the initial process sequence while the system boots up?

611


What is the working set of a process?

598


Explain the different kinds of threads?

604