answersLogoWhite

0

What is re-entrant program?

Updated: 4/26/2024
User Avatar

Wiki User

14y ago

Best Answer

A re-entrant program is a type of program that can be interrupted in the middle of its execution and then resumed without affecting the outcome. This is achieved by ensuring that the program does not rely on global variables or state that could be changed by external factors during its execution. Re-entrant programs are designed to be thread-safe and can be used in multitasking or multi-threaded environments.

User Avatar

AnswerBot

2d ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is re-entrant program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a 7 sided shape called with 4 right angles?

This would be a type of concave or reentrant polygon, but might also have a specific name, perhaps a concave heptagon, or a reentrant heptagon.


What is the concept of Reentrancy?

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.Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.


What kind of polygon has the property that there is a line which contains a side of the polygon and passes through the interior of the polygon?

It is a concave or reentrant polygon.


What is reentrant kernel?

A reentrant kernel enables processes to give away the CPU while in kernel mode ,not hindering other processes from also entering kernel mode. A typical use is IO wait. The processes wants to read a file..It calls a kernel function for this. Inside the kernel function,the disk controller is asked for the data . Getting the data will take some time & the function is blocked during that time. With an reentrant kernel,the scheduler will assign CPU to another process until an interrupt from disk controller indicates that the data is available and our thread can be resumed . This process can still access IO,like user input


What is a definition for non convex polygon?

A simple polygon that is not convex is called concave, non-convex or reentrant. A concave polygon will always have an interior angle with a measure that is greater than 180 degrees.


What does a short line in front of the word program mean---- program?

blank program


__PROGRAM?

AI Program (artificial intelligence) maybe?


What does a compression program do?

what does a compression program do? what does a compression program do?


What came first the Apollo program or the Gemini program?

The Gemini program preceded the Apollo program


Symphonic poems program symphonies and program overtures are all types of .?

Symphonic poems, program symphonies, and program overtures are all types of program music.


In preparation for program initiation after program restructuring or unrecoverable program deviations the program manager prepares what document?

Acquisition Program Baseline (APB)


What is program loading?

a program loading is when the program is generating its information