What resources are utilized when a thread is created, Operating System

Q. What resources are utilized when a thread is created? How do they vary from those used when a process is created?

Answer: For the reason that a thread is smaller than a process thread creation typically uses fewer resources than process creation. Creating a process necessitate allocating a process control block (PCB) a rather large data structure.

The PCB comprises a memory map list of open files and environment variables. Allocating as well as managing the memory map is usually the most time-consuming activity. Creating either a user or else kernel thread involves allocating a small data structure to hold a stack, register set and priority.

Posted Date: 7/27/2013 2:36:46 AM | Location : United States







Related Discussions:- What resources are utilized when a thread is created, Assignment Help, Ask Question on What resources are utilized when a thread is created, Get Answer, Expert's Help, What resources are utilized when a thread is created Discussions

Write discussion on What resources are utilized when a thread is created
Your posts are moderated
Related Questions
how to find ncr value in shell script

Q. What are the three major purposes of an operating system? Answer: To offers an environment for a computer user to execute programs on computer hardware in a conveni

What are the drawbacks of contiguous allocation of disk space? The disadvantages are a. Suffers from internal fragmentation b. Suffers from external fragmentation c. F

What is linked allocation, as detailed in text? Directory has pointers to first and last blocks of file. Every block of file (except last) has pointer to the next block.

draw a state diagram showing the transissions of a process from creation to termination

Define a linker program  A linker program links the program along with other programs required for its execution.


Explain about file allocation methods? The main problem in direct-access nature is how to assign space to these files so that disk space if utilized effectively and files can b

Define Disadvantages of Top Down parsing of Backtracking The disadvantages of top down parsing of backtracking: (i)  Semantic actions cannot be carried out while making a pr

What is spooling? Spooling overlaps the I/O of single job with the computation of other jobs.