Reentrant vs Recursive - What's the difference?
reentrant | recursive |
Reentering; pointing inward.
(programming, of a mutual exclusion mechanism) Such that the corresponding lock can be reacquired by the locking thread.
:The global interpreter lock of the embedded scripting engine is not re-entrant.
(programming) That may be executed more than once at a time either by different threads, or because of recursion.
:Global variables must not be altered by reentrant code.
(transport, of a part of a rocket) Designed to return to the Earth's atmosphere.
(physiology) Of or pertaining to reentry (in the heart)
An angle or part that reenters itself.
One who enters (the labour market, etc.) again.
(geography) A valley between a pair of parallel ridges
drawing upon itself, referring back.
(mathematics, not comparable) of an expression, each term of which is determined by applying a formula to preceding terms
(computing, not comparable) of a program or function that calls itself
(computing theory, not comparable, of a function) which can be computed by a theoretical model of a computer, in a finite amount of time
(computing theory, not comparable, of a set) whose characteristic function is recursive (4)
As adjectives the difference between reentrant and recursive
is that reentrant is reentering; pointing inward while recursive is drawing upon itself, referring back.As a noun reentrant
is an angle or part that reenters itself.reentrant
English
Alternative forms
* (obsolete)Adjective
(-)Derived terms
* macroreentrant * microreentrantNoun
(en noun)See also
*reusablerecursive
English
Adjective
{{examples-right, sense=function, The factorial function - : : where n is any natural number greater than 0}} (en adjective)- The recursive nature of stories which borrow from each other
