Linked by Thom Holwerda on Sun 18th Jan 2009 11:16 UTC, submitted by anonymous
General Unix Protothreads are a type of extremely lightweight threads - each protothread requires only two bytes of memory - that are usually used for embedded firmware programming, where memory is at a premium. Protothreads combine the low overhead with event-driven programming with the algorithmic clarity of threaded programming.
Thread beginning with comment 344185
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:

and my first guess are embedded systems on top of Linux kernel? I mean - come on, ordinary threads are lightweight enough for modern hardware. But threads on my phone definitely coud be lighter ;) .

Meh. Android runs tons of threads, inside a JVM no less, on a pretty constrained hardware environment, and it all seems pretty snappy.

Reply Parent Score: 2