#102384 - OOPMan - Wed Sep 13, 2006 2:36 pm
Right, so, it seems like we don't have a proper, universal thread library for homebrew NDS development...
I searched through the forums and noticed a few threads related topics. The general line was that people had done some thread-related work but not created a complete library...
So I did a google for "thread library embedded systems" and got some promising results...
Top of the results was ProtoThreads
To quote from the website...
So, anyway, I'm downloading ProtoThreads and I'll see whether it passes through devkitARM without a peep...
Has anyone else come across any good threading libraries that would be appropriate to use on the NDS?
Why re-invent the wheel, after all :-)
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI
You can find my NDS homebrew projects here...
I searched through the forums and noticed a few threads related topics. The general line was that people had done some thread-related work but not created a complete library...
So I did a google for "thread library embedded systems" and got some promising results...
Top of the results was ProtoThreads
To quote from the website...
Quote: |
Protothreads are extremely lightweight stackless threads designed for severely memory constrained systems, such as small embedded systems or wireless sensor network nodes. Protothreads provide linear code execution for event-driven systems implemented in C. Protothreads can be used with or without an underlying operating system to provide blocking event-handlers. Protothreads provide sequential flow of control without complex state machines or full multi-threading.
While protothreads originally were created for memory-constrained embedded systems, it has found many uses as a general purpose library too. Examples include multimedia streaming server software, grid computing research software, and MPEG decoding software for Internet TVs. Read more... Main features: Very small RAM overhead - only two bytes per protothread and no extra stacks Highly portable - the protothreads library is 100% pure C and no architecture specific assembly code Can be used with or without an OS Provides blocking wait without full multi-threading or stack-switching Freely available under a BSD-like open source license Example applications: Memory constrained systems Event-driven protocol stacks Small embedded systems Sensor network nodes Portable C applications For example usages, see the Examples page. The protothreads library is released under an open source BSD-style license that freely allows for both non-commercial and commercial usage. The only requirement is that credit is given. Download the full source code here. Protothreads were created by Adam Dunkels with support from Oliver Schmidt <ol.sc@web.de> |
So, anyway, I'm downloading ProtoThreads and I'll see whether it passes through devkitARM without a peep...
Has anyone else come across any good threading libraries that would be appropriate to use on the NDS?
Why re-invent the wheel, after all :-)
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI
You can find my NDS homebrew projects here...