List reasons why a Mode switch between threads may be
cheaper than a Mode switch between processes?
Answer Posted / nirmalraj
Process :Generally heavy weight by, the PCB holds kernel
objects the values generally referred as state information.
A application can be divided into two types in design phase:
1.Process - may affect application/program architecture
2.Threads - didn't affect architecture
Threads typically are spawned for a short-term benefit where
as process for long-term even the thread share its own
process address space is never larger than 4GB.
A single process may hold "n" threads so exchanging value
between process; then the cpu spend most of its time for
swapping it leads to thrasing definitely.
Threads easily exchange their locale variables within its
scope but exchange value between process stolen more cpu cycles.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is LOM and how do you access it?
Explain the difference between fat & ntfs?
directories can be implemented either special files that can only be accused in limited ways or can be implemented as ordinary data files. what are advantages and disadvantages of this approach?
Explain about operating system of mac?
Explain the difference among deadlock avoidance, detection and prevention?
What is direct mount and indirect monut?
Tell me why register are stored the only binary data?
Explain the reasons for implementing process migration? How is the process address space handled during process migration?
If you do not have cd drive then how will u format c drive?
What are the reasons for implementing process migration?
Explain about dynamic memory allocation algorithm?
Explain the ways to infect the system by virus?
If you tries to mount a share ( home directory )in a client machine, and it fails how do u approach?
how make a bootable dick
what is a property sheet?