blob: ebaf40e839365b7dd06a416c3446a4926a8f8198 [file] [log] [blame]
Brian Silverman14fd0fb2014-01-14 21:42:01 -08001see ../README.txt for stuff affecting crio and linux code
2
3The folder is called linux_code because it mainly deals with code that uses the queue system, which only works under GNU/Linux for a variety of reasons, some fundamental (futexes) and some because nobody bothers to fix them.
4The layout is designed with multiple linux boxes in mind.
5
6The one that talks to the cRIO etc is called the prime. We have multiple explanations for that name:
7 It is the primary controller.
8 PRIME/Primary Robot Intelligent Management Entity
9 Represents Optimus Prime, one of the good transformers who battle the bad ones that 254 names robots after.
10 It is easy to type and doesn't conflict with anything else common for tab-completion.
11 It's not hardware-specific.
12
13[NOTES]
14Any code should call aos::Init() (or aos::InitNRT() for processes that don't need to be realtime) before making any calls to any of the aos functions.
15Making calls to any of the aos functions (including aos::Init()) from more than 1 thread per process is not supported, but using fork(2) after some aos functions have been called and then continuing to make aos function calls (without calling one of the exec(3) functions) in both processes is supported.