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.
E-mail Print r 5   · Read More · 16 Comment(s)
Thread beginning with comment 344185
To view parent comment, click here.
To read all comments associated with this story, please click here.
joshv
Member since:
2006-03-18

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