Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Operating System (OS) Interviews:BSDBulnexCompiler Linker LoaderDisk Operating System (DOS)MAC Operating SystemNative iOS EngineerOperating System (OS)OS Data StructuresOS General ConceptsOS Memory ManagementOS MultithreadingOS Process ManagementOS X Mountain LionRTOSShell ScriptingSolarisSolaris AdminSolaris CommandsSymbianUnix CommandsUNIX Operating SystemUnix Socket ProgrammingUnix/Linux programmingVxWorksWindowsWindows 7Windows AdministratorWindows CEWindows Programming
Copyright © 2018. All Rights Reserved
OS General Concepts Interview Question:
Explain the concept of Reentrancy?
Submitted by: AdministratorIt 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.