Explain the concept of Reentrancy?
Answer Posted / 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 View All Answers
What are the different types of semaphores?
What is a boot-strap program?
What is system bus? Explain a few related terms.
What is deadlock? Explain.
What is the x86 folder?
Why interprocess communication is required?
What is process synchronization?
What happens if you install 64 bit on 32?
What is the purpose of using the yield method of thread class?
How do I search for a pattern in vi?
What's the difference between 32 and 64 bit?
Can a bad cpu cause blue screen?
At what mode the fault handler executes?
What first program that the computer runs when the power is turn on?
For a deadlock to occur what are the necessary conditions