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:
“With five to ten hundred pure-minded young women threading the streets of the village every evening unattended, vice must slink away, like frost before the rising sun ...”
—Anna Julia Cooper (18591964)