thunk


(v.) In PCs, to convert a 16-bit memory address to a 32-bit address, and vice versa. Thunking is necessary because Intel’s older 16-bit microprocessors used an addressing scheme called segmented memory, whereas their 32-bit microprocessors use a flat address space . Windows 95 supports a thunk mechanism to enable 32-bit programs to call 16-bit DLLs. This is called a flat thunk.

On the other hand, 16-bit applications running under Windows 3.x and Windows for Workgroups cannot use 32-bit DLLs unless the 32-bit addresses are converted to 16-bit addresses. This is the function of Win32s, and is called a universal thunk.

According to folklore, the term thunk was coined by the developers of the Algol-60 programming language, who realized late one night that the data type of parameters could be known with a little forethought by the compiler. That is, by the time the compiler processed the parameters, it had already thought of (thunked) the data types. The meaning of the term has changed considerably in recent years.

(n.) The operation of converting between a segmented memory address space and a flat address space.

Read Also:

  • Tick-tock

    In technology terms, tick-tock typically refers to Intel’s model of releasing new processor families each year, with the “tick” applying to processors fabricated on a smaller die shrink and the “tock” representing processors that is based on a new processor microarchitecture. The “tick” processors feature enhanced performance and energy efficiency on a smaller, more refined […]

  • Tiered Storage

    Tiered storage is an underlying principle of ILM (information lifecycle management). It is a storage networking method where data is stored on various types of media based on performance, availability and recovery requirements. For example, data intended for restoration in the event of data loss or corruption could be stored locally — for fast recovery […]

  • tight coupling

    (1) In computer science, tight coupling (or tightly coupled) is a type of coupling that describes a system in which hardware and software are not only linked together, but are also dependant upon each other. In a tightly coupled system where multiple systems share a workload, the entire system usually would need to be powered […]

  • tiled windows

    Windows window arranged so that they do not overlap each other. Overlapping windows are often called overlaid or cascading windows.

  • time code

    A digitally encoded signal that is recorded on videotape to identify each frame of video by hour, minute, second and frame number. There are two kinds of recorded signal: longitudinal time code (LTC) and vertical interval time code (VITC). [Adapted from Extreme Exposure]


Disclaimer: thunk definition / meaning 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. All content on this website is for informational purposes only.