• Lmaydev@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    This is an essential truth of async in its purest form: There is no thread.

    The objectors to this truth are legion. “No,” they cry, “if I am awaiting an operation, there must be a thread that is doing the wait! It’s probably a thread pool thread. Or an OS thread! Or something with a device driver…”

    There is no thread waiting for the operation to complete is their point.