What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Reentrant vs Recursive - What's the difference?

reentrant | recursive |

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

(-)
  • 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)
  • Derived terms

    * macroreentrant * microreentrant

    Noun

    (en noun)
  • An angle or part that reenters itself.
  • One who enters (the labour market, etc.) again.
  • (geography) A valley between a pair of parallel ridges
  • See also

    *reusable

    recursive

    English

    Adjective

    {{examples-right, sense=function, The factorial function - : f(0) = 1 : f(n) = n \times f(n-1) where n is any natural number greater than 0}} (en adjective)
  • drawing upon itself, referring back.
  • The recursive nature of stories which borrow from each other
  • (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)
  • Hyponyms

    * (of a function) primitive recursive

    Hypernyms

    * recursively enumerable

    Derived terms

    * recursive acronym * tail recursive *

    See also

    * (wikipedia)