reentrant

English

Alternative forms

Etymology

    From re- + entrant.

    Pronunciation

    • IPA(key): /ɹiːˈɛntɹənt/
    • Audio (Southern England):(file)

    Adjective

    reentrant (not comparable)

    1. (fortification, now historical) Designating a structure at an angle pointing inward towards the centre of the fortification; opposed to salient. [from 18th c.]
    2. Pertaining to an angle pointing inwards, or to a line forming part of such an angle. [from 18th c.]
      • 1917, Aleister Crowley, Moonchild, Weiser, published 2010, page 78:
        [T]he eye was enclosed in a six-pointed star, and swords with undulating blades issued from each re-entrant angle.
    3. (geography) Pertaining to a type of angular valley cutting deep into the side of a hill or mountain. [from 20th c.]
    4. (medicine) Pertaining to a type of cardiac arrhythmia in which an impulse re-excites an area that has already been stimulated. [from 20th c.]
    5. (music) Designating a way of tuning the strings of certain stringed instruments, such that they follow a pattern of rising and falling intervals, rather than having successively higher pitches. [from 20th c.]
    6. (programming) That may be executed more than once at a time either by different threads, or because of recursion. [from 20th c.]
      Global variables must not be altered by reentrant code.
      • 2021, Matt Neuburg, iOS 15 Programming Fundamentals with Swift, 8th edition, O'Reilly, →ISBN, page 386:
        To mitigate that risk, there's an important exception to actor serialization: actors are reentrant. This means that when an actor itself says await, then while the actor's code is waiting, its members can be accessed from outside the actor using await.
    7. (aeronautics, of a part of a rocket) Designed to return to the Earth's atmosphere.
    8. (programming, of a mutex) Such that the corresponding lock can be reacquired by the locking thread.
      The global interpreter lock of the embedded scripting engine is not reentrant.

    Derived terms

    Translations

    Noun

    reentrant (plural reentrants)

    1. An angle or part that reenters itself.
    2. One who enters (the labour market, etc.) again.
    3. (geography) A valley between a pair of parallel ridges.

    See also