Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. When was the last time you thunked?

When was the last time you thunked?

Scheduled Pinned Locked Moved The Lounge
swiftcomdesigndata-structuresjson
11 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • raddevusR raddevus

    Check out this error that I just got in XCode when I attempted to preview the design layout[^]. It says, "Timed out waiting for a thunk to build..." Thunk - Wikipedia[^] I hadn't heard of thunk since old Windows API programming. But now you can do your thunking on your Mac too. :rolleyes:

    J Offline
    J Offline
    Jeremy Falcon
    wrote on last edited by
    #2

    raddevus wrote:

    I hadn't heard of thunk since old Windows API programming.

    Same-ish. Thunking is the technique MS used to make Win32s[^] work. However, the term made a comeback in the JavaScript ecosystem with libraries such as Redux Thunk[^]. True to JavaScript fashion though, we dumbed down the concept a bit. :) But, at one point in time it was useful for distributed web calls. These days there are better techniques though. If you read the definition on the link for Redux Thunk, for instance, you'll notice some ambiguity between that and just using a callback. But hey, at least the term made a comeback-ish.

    Jeremy Falcon

    1 Reply Last reply
    0
    • raddevusR raddevus

      Check out this error that I just got in XCode when I attempted to preview the design layout[^]. It says, "Timed out waiting for a thunk to build..." Thunk - Wikipedia[^] I hadn't heard of thunk since old Windows API programming. But now you can do your thunking on your Mac too. :rolleyes:

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #3

      In my FreeRTOS thread pack library, I create a thunk for thread entry points to change the behavior of threads so they A) start in the suspended state B) kill themselves on exit rather than crashing

      To err is human. Fortune favors the monsters.

      J 1 Reply Last reply
      0
      • H honey the codewitch

        In my FreeRTOS thread pack library, I create a thunk for thread entry points to change the behavior of threads so they A) start in the suspended state B) kill themselves on exit rather than crashing

        To err is human. Fortune favors the monsters.

        J Offline
        J Offline
        jmaida
        wrote on last edited by
        #4

        back in the day routines called dally which stalled processes so they could sync with slower ones (like the line plotter). all that went away with newer software and hardware for controlling parallel processes. VAX days.

        "A little time, a little trouble, your better day" Badfinger

        J 1 Reply Last reply
        0
        • raddevusR raddevus

          Check out this error that I just got in XCode when I attempted to preview the design layout[^]. It says, "Timed out waiting for a thunk to build..." Thunk - Wikipedia[^] I hadn't heard of thunk since old Windows API programming. But now you can do your thunking on your Mac too. :rolleyes:

          D Offline
          D Offline
          Daniel Pfeffer
          wrote on last edited by
          #5

          Well, who'lda thunk it?

          Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

          1 Reply Last reply
          0
          • raddevusR raddevus

            Check out this error that I just got in XCode when I attempted to preview the design layout[^]. It says, "Timed out waiting for a thunk to build..." Thunk - Wikipedia[^] I hadn't heard of thunk since old Windows API programming. But now you can do your thunking on your Mac too. :rolleyes:

            C Offline
            C Offline
            Craig Robbins
            wrote on last edited by
            #6

            Never heard of thunking, but it reminds me of the motto: Think (Or Thwim)

            T 1 Reply Last reply
            0
            • raddevusR raddevus

              Check out this error that I just got in XCode when I attempted to preview the design layout[^]. It says, "Timed out waiting for a thunk to build..." Thunk - Wikipedia[^] I hadn't heard of thunk since old Windows API programming. But now you can do your thunking on your Mac too. :rolleyes:

              D Offline
              D Offline
              dandy72
              wrote on last edited by
              #7

              raddevus wrote:

              But now you can do your thunking on your Mac too

              Thunk Different(tm).

              1 Reply Last reply
              0
              • C Craig Robbins

                Never heard of thunking, but it reminds me of the motto: Think (Or Thwim)

                T Offline
                T Offline
                trønderen
                wrote on last edited by
                #8

                Or IBM's well known motto: Thibmk!

                1 Reply Last reply
                0
                • J jmaida

                  back in the day routines called dally which stalled processes so they could sync with slower ones (like the line plotter). all that went away with newer software and hardware for controlling parallel processes. VAX days.

                  "A little time, a little trouble, your better day" Badfinger

                  J Offline
                  J Offline
                  Jeremy Falcon
                  wrote on last edited by
                  #9

                  That's cool to know.

                  Jeremy Falcon

                  J 1 Reply Last reply
                  0
                  • J Jeremy Falcon

                    That's cool to know.

                    Jeremy Falcon

                    J Offline
                    J Offline
                    jmaida
                    wrote on last edited by
                    #10

                    My own name for those types of delay routines was "dally" so they may not be documented as such. But the concept is the same. Stall, delay, dally, they were not controlled by hardware syncs. They used shared memory space to software handshake with other processes. As pain.

                    "A little time, a little trouble, your better day" Badfinger

                    1 Reply Last reply
                    0
                    • raddevusR raddevus

                      Check out this error that I just got in XCode when I attempted to preview the design layout[^]. It says, "Timed out waiting for a thunk to build..." Thunk - Wikipedia[^] I hadn't heard of thunk since old Windows API programming. But now you can do your thunking on your Mac too. :rolleyes:

                      E Offline
                      E Offline
                      englebart
                      wrote on last edited by
                      #11

                      Win16 did a lot of thunking. I remember it as a little ASM code snippet mostly used to adjust the CPU DS (data segment register) so that when Windows called back into your code you had access to your “static” variables that lived in the DS. Something similar happened when using DLLs. Each DLL entry point would adjust DS, A bit foggy now! I do NOT miss it. If Win16 was still in use today, ransom ware vendors would be billionaires!

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups