Explain the concept of Reentrancy?



Explain the concept of Reentrancy?..

Answer / guest

It is a useful, memory-saving technique for multiprogrammed
timesharing systems. A Reentrant Procedure is one in which
multiple users can share a single copy of a program during
the same period. Reentrancy has 2 key aspects: The program
code cannot modify itself, and the local data for each user
process must be stored separately. Thus, the permanent part
is the code, and the temporary part is the pointer back to
the calling program and local variables used by that
program. Each execution instance is called activation. It
executes the code in the permanent part, but has its own
copy of local variables/parameters. The temporary part
associated with each activation is the activation record.
Generally, the activation record is kept on the stack.

Is This Answer Correct ?    14 Yes 4 No

Post New Answer

More Operating Systems General Concepts Interview Questions

What is banker's algorithm?

0 Answers  


What is the meaning of Thread Priority?

0 Answers  


Explain various types of scheduling in operating system.

0 Answers   HAL,


Is it possible to have a deadlock involving only one process?

0 Answers  


What are DDks? Name an operating system that includes this feature.

3 Answers  






What is a mission critical system?

0 Answers   CSE,


What resources are used when a thread created? How do they differ from those when a process is created?

0 Answers  


What do you mean by semaphore?

0 Answers  


How do you fix a blue screen?

0 Answers  


Differentiate between the user mode and monitor mode.

0 Answers  


What are 3 operating systems?

0 Answers  


What is short term scheduler in operating system (os)?

0 Answers  


Categories