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
Define what an assembler is An assembler is machine dependant.

Interrupts The hardware mechanism that enables a device to inform the CPU is called an interrupt. The basic interrupt mechanism works as follows. The CPU hardware has a wire kn

What is a Relocatable program? The Relocatable programs can be loaded almost anywhere in memory.



Q. Consider a system in which a program is able to be separated into two parts: code and data. The CPU recognizes whether it wants an instruction (instruction fetch) or data (data

Write a C program that illustrates the creation of child process using fork system call. One process finds sum of even series and other process finds sum of odd series.

Write a note on multithreading. Multithreading is the capability of an operating system to execute different parts of a program called as threads, at the same time. The program

basic advantage of using interrupt initiated data transfer over transfer under program control without an interrupt

Q. Dynamically loadable kernel modules give elasticity when drivers are added to a system however do they have disadvantages too? Under what situations would a kernel be compiled