What is reentrant? - Definition from WhatIs.com
Part of the Programming glossary:

Reentrant is an adjective that describes a computer program or routine that is written so that the same copy in memory can be shared by multiple users. Reentrant code is commonly required in operating systems and in applications intended to be shared in multi-use systems. A programmer writes a reentrant program by making sure that no instructions modify the contents of variable values in other instructions within the program. Each time the program is entered for a user, a data area is obtained in which to keep all the variable values for that user. The data area is in another part of memory from the program itself. When the program is interrupted to give another user a turn to use the program, information about the data area associated with that user is saved. When the interrupted user of the program is once again given control of the program, information in the saved data area is recovered and the program can be reentered without concern that the previous user has changed some instruction within the program.

This was last updated in August 2005
Contributor(s): Subbu Mahadevan and Lee Savidge
Posted by: Margaret Rouse

Related Terms

Definitions

  • headless Android

    - Headless Android is a version of the Android operating system designed for embedded devices that lack user interfaces. (WhatIs.com)

  • embedded software

    - Hardware makers use embedded software to control the functions of various hardware devices and systems. Embedded software controls device functions in the same way that a computer’s operating syste... (WhatIs.com)

  • framework

    - In computer systems, a framework is often a layered structure indicating what kind of programs can or should be built and how they would interrelate. (WhatIs.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question
  • Cobol Stored Procedures

    Hello, Website from IBM will explain this.... http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.apsg/db2z_xmpcobolstoredproceduregeneral.htm Regards, TPinky

  • Considerations for making norent programs reentrant.

    Use AMODE(31),RMODE(ANY) to allow your programs to run above the line. Re-entrant programs stay in memory after they are called the first time (to eliminate load time for the second and subsequent ...

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.