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
Tell me is windows nt a full blown object oriented operating system? Give reasons?
How do I stop blue screen?
Define demand paging?
What is the difference between ie and edge?
Why Thread behavior is unpredictable?
What are the various ipc mechanisms?
What kind of memory is a ram categorized as?
How do I copy and paste a file location?
What is the real-time system?
What are the disadvantages of microkernels?
What do you understand by system clock?
What are the two types of file system?
Explain about Different types of real-time scheduling?
How much ram do I need for gaming?
Explain IPC?