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
How long should a chkdsk take?
How does the system detect thrashing?
What is sock_seqpacket?
Explain the functions of the cu and alu in the cpu of a computer.
How many gb of ram can 64 bit use?
Why interprocess communication is required?
What do you understand by the term ‘transistors’?
Explain about Different types of real-time scheduling?
Stable storage cannot be implemented. (A) Explain why it cannot be. (B) Explain how database system deal with database applications
What is a root program?
Do I need both program files and program files x86?
Does dual boot slow down pc?
What is the use of paging in operating system?
What is the maximum ram for a 64 bit operating system?
Differentiate between swapping and paging.