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:
“Those Maine woods differ essentially from ours. There you are never reminded that the wilderness which you are threading is, after all, some villagers familiar wood-lot, some widows thirds, from which her ancestors have sledded fuel for generations, minutely described in some old deed which is recorded, of which the owner has got a plan, too, and old bound-marks may be found every forty rods, if you will search.”
—Henry David Thoreau (18171862)