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 sudo user?

0 Answers  


What is a ready queue?

0 Answers  


what is Processor?

7 Answers   Cisco, TCS,


How do you change File Access Permissions?

0 Answers  


What is risc technology?

0 Answers  






What are placement and replacement algorithms in the context of memory management?

0 Answers  


How do I find my os version?

0 Answers  


Define page fault interrupt?

0 Answers  


When does trashing occur?

0 Answers  


How much ram can you have on a 64 bit system?

0 Answers  


How many gb is an operating system?

0 Answers  


What is a binary semaphore?

0 Answers  


Categories