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 the trc timing?

0 Answers  


Briefly explain thrashing.

0 Answers   Accenture,


What is a bootloader?

0 Answers  


Differentiate internal commands from external commands.

0 Answers  


Explain the concept of the batched operating systems?

0 Answers  






What is BSS(Block Started by Symbol)?

0 Answers  


What are the different types of process termination?

0 Answers  


What is process synchronization?

0 Answers  


Page replacement algorithm in Operating System?

0 Answers   Impetus,


Some omeone on campus calls and says they have a new Mac. They've just pulled it out of the box and want to plug it into the campus network. What might they need to set to make this work?

0 Answers   Infogain,


What is the purpose of port forwarding?

0 Answers  


How long does it take to chkdsk 1tb?

0 Answers  


Categories