Embed presentation
Downloaded 12 times







Protothreads are an extremely lightweight form of threads that run on a single stack and context switch by rewinding the stack. They require only two bytes of memory per thread and are implemented purely in C without machine-specific code. Protothreads run within a single function and are driven by repeated calls to that function, running until blocking or exiting each time.





