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

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

591


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

574


List the system calls used for process management?

704


Explain the different kinds of threads?

693


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?

701






How would you kill a process?

713


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

596


What is the working set of a process?

668


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

692


Explain critical section?

687


Explain what is critical section?

630


Explain similarities between thread and process?

672


What is protection boundary?

762


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

593


Explain what is scheduling?

705