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
Explain process.
Who made the first 64 bit processor?
How do I completely remove all traces of a program?
Which is the best page replacement algorithm and Why? How
How can you pause the execution of a Thread for a certain amount of time?
Is 100 cpu usage bad?
What is the difference between exclusive lock and shared lock?
What is difference between Process and Thread?
What is the sequence of the three way handshake?
When is a system in a safe state?
Explain the different types of fragmentation?
What is sin_addr?
Explain paging, faulting, and deadlock?
Do I need program files and program files x86?
Write a function that responds to a click anywhere on the page by displaying an alert dialog. Display the event name if the user held Shift during the mouse click. Display the element name that triggered the event if the user held Ctrl during the mouse click.