An implementation of protothreads (extremely lightweight threads) that includes a UNIX-like scheduler, requires the GCC C compiler but no operating system. NOTE: This project is no longer being maintained here; see http://code.google.com/p/protothread/
Be the first to post a text review of protothread. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Announcing the newest, most sophisticated implementation of protothreads yet! This tiny C library (400 lines including comments) lets you write thread-structured code, but with all the advantages of the event-driven (or state-machine) model -- great for high-performance or memory-constrained systems (such as embedded, firmware, storage or devices). The gcc compiler is all that's required; works with any (or no) operating system. Works with any processor (no assembly language). Please see the wiki page for a full description and API reference manual: http://protothread.wiki.sourceforge.net/ Protothreads is a beautiful idea invented by Adam Dunkels: http://www.sics.se/~adam/pt/ This new implementation (written from scratch, only on sourceforge.net) includes a thread scheduler and signaling mechanism. This source distribution also includes an elaborate set of test / demonstration code, and also implementations of reader-writer (shared-exclusive) locks and semaphores.
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: