Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,727,808,513 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

reentrant code

   Also found in: Wikipedia 0.10 sec.

reentrant code

A programming routine that can be used by multiple programs simultaneously. It is used in operating systems and other system software as well as in multithreading, where concurrent events are taking place. It is written so that none of its code is modifiable (no values are changed) and it does not keep track of anything. The calling programs keep track of their own progress (variables, flags, etc.), thus one copy of the reentrant routine can be shared by any number of users or processes.

Conceptually, it is as if several people were each baking a cake from a single copy of a recipe on the wall. Everyone looks at the master recipe, but keeps track of their own progress by jotting down the step they are at on their own scratchpad so they can pick up where they left off. The master recipe is never disturbed.


reentrant code [rē′en·trənt ‚kōd]
(computer science)


How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2009 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.