InternetNews.com - Webopedia: Online Dictionary for Computer and Internet Terms
 


   

Partner With Us
















Enter a keyword...
...or choose a category.

thunk
Last modified: Wednesday, May 12, 2004  

(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.

Related Categories
  • Memory
  • Related Terms
  • address space
  • segmented address space
  • Win32s
  • WOW
  • Shopping
    thunk Products
    Compare Products,Prices and Stores

    Shop by Category:
    Music
    2 Model Matches

    Books
    1 Model Matches

    Sport and Outdoor
    5 Store Offers

    Toys
    0 Store Offers

     

    Add internetnews.com
    to your browser search box.

    IE 7 | Firefox 2.0 | Firefox 1.5.x

    Receive news
    via our XML/RSS:
    feed

    More InternetNews.com


    Hardware Software Mobility Web Content
    Search Government Developer Business
    Storage E-Commerce Networking Security




    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers