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


Please Help Members By Posting Answers For Below Questions

Throw some light on internal process memory.

568


How are the wait/signal operations for monitor different from those for semaphores?

506


What is the advantage of a multiprocessor system?

492


what are the softwares helping for auditing poblems?

1499


What is a phase change memory?

578






Suppose if we have a variable 'I' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

653


What is the difference between internal commands and external commands?

575


What are merits and demerits of systems supporting multiple file structure and systems supporting a stream of bytes?

613


Why is 64 bit called x86?

533


How to find the number of SIMM Pins

632


How you can Kill the Session by force?

584


When would you choose bottom-up methodology?

2120


What is risc technology?

622


Explain migration process?

546


What is rdram?

594