Event-driven Programming - Stackless Threading

Stackless Threading

An event driven approach is used in hardware description languages. A thread context only needs a cpu stack while actively processing an event, once done the cpu can move on to process other event-driven threads, that allows an extremely large number of threads to be handled. This is essentially a Finite-state machine approach.

Read more about this topic:  Event-driven Programming

Famous quotes containing the word threading:

    Tell me how many beads there are
    In a silver chain
    Of evening rain,
    Unravelled from the tumbling main,
    And threading the eye of a yellow star:—
    So many times do I love again.
    Thomas Lovell Beddoes (1803–1849)